Skip to content

Commit

Permalink
7.0.12
Browse files Browse the repository at this point in the history
fix sub gaps appearing below the box for horizontal top 10, 25, 50
  • Loading branch information
RandomPerson3465 committed Aug 29, 2024
1 parent cdecf0d commit 7fdb0d6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions top50/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,11 @@ function setupDesign(list, sort, order) {
.name { font-size: ${data.showDifferences ? 0.5 : 0.75}vw; }
.subgap { font-size: 0.7vw;}`;
} else {
toReturn[2] = `.image { height: ${data.showDifferences ? 3 : 4.25}vw; width: ${data.showDifferences ? 3 : 4.25}vw; }
.card { height: 4.25vw; }
.count { font-size: ${data.showDifferences ? 1.4 : 2}vw; }
.name { font-size: ${data.showDifferences ? 1.05 : 1.5}vw; }
.subgap {font-size: 1.25vw;}`;
toReturn[1] = "margin-top: 0px; display: grid; grid-template-columns: repeat(5, 1fr);";
}
for (let l = 1; l <= cards; l++) {
Expand Down

0 comments on commit 7fdb0d6

Please sign in to comment.