Skip to content

Commit

Permalink
fix: County font-size
Browse files Browse the repository at this point in the history
  • Loading branch information
Valexr committed Apr 28, 2024
1 parent 6c1ef12 commit 9a95ff0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/components/Counter.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
const values = Object.values(rest)
.filter((r) => r)
.join("");
return !type ? values.length : String(full[type]).length;
// return !type ? values.length : String(full[type]).length;
}
</script>

Expand Down Expand Up @@ -51,7 +51,7 @@
list-style: none;
padding: 0;
margin: 0;
font-size: calc(100vw / var(--county-length) + 1em);
font-size: calc(100vw / var(--county-length, 6) + 1em);
font-weight: bold;
display: flex;
justify-content: center;
Expand Down

0 comments on commit 9a95ff0

Please sign in to comment.