Skip to content

Commit 8ef66b4

Browse files
committed
Add better descriptions
1 parent eae9330 commit 8ef66b4

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

cardgame.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function generateUniqueCard(username) {
3232
id,
3333
name: `${username}'s Name Card`,
3434
type: 'NAME',
35-
description: 'A unique card that is created once per account. Getting two of the same name will get you the flag.',
35+
description: 'A unique card that is created once per account. Getting two of name cards with the same name and ID will get you the flag. The ID of this card is: ' + id,
3636
rarity: 'UNIQUE',
3737
created_at: Date.now()
3838
};

public/cardgame.html

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,8 @@
118118
font-size: 0.9em;
119119
margin: 4px 0;
120120
flex: 1;
121-
overflow: hidden;
122-
text-overflow: ellipsis;
123-
display: -webkit-box;
124-
-webkit-line-clamp: 3;
125-
-webkit-box-orient: vertical;
121+
overflow: auto;
122+
line-height: 1.4;
126123
}
127124

128125
.card-grid {

0 commit comments

Comments
 (0)