From 2f6333213276b750de564873897cbe08823374d8 Mon Sep 17 00:00:00 2001 From: ryo-ma Date: Sun, 23 Aug 2020 19:58:46 +0900 Subject: [PATCH] Fix layout --- src/card.ts | 2 +- src/trophies.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/card.ts b/src/card.ts index 96a02a8..7e37f9a 100644 --- a/src/card.ts +++ b/src/card.ts @@ -1,7 +1,7 @@ import { TotalStarTrophy, TotalCommitTrophy, TotalFollowerTrophy } from "./trophies.ts"; export class Card { - constructor(private width = 1000, private height = 200) { + constructor(private width = 800, private height = 200) { } render(): string { const trophy1 = new TotalStarTrophy(0); diff --git a/src/trophies.ts b/src/trophies.ts index 88e974f..d63bce9 100644 --- a/src/trophies.ts +++ b/src/trophies.ts @@ -29,9 +29,9 @@ abstract class Trophy { stroke-opacity="1" /> ${getTropyIcon(this.rank)} - ${this.title} - ${this.topMessage} - ${this.bottomMessage} + ${this.title} + ${this.topMessage} + ${this.bottomMessage} `; }