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} `; }