aboutsummaryrefslogtreecommitdiff
path: root/src/components/card_thumb.svelte
diff options
context:
space:
mode:
authorMistivia <i@mistivia.com>2025-09-24 08:45:00 +0800
committerMistivia <i@mistivia.com>2025-09-24 08:45:00 +0800
commit5442f466e67b265c7e44e32d8e1ca605b1e7e153 (patch)
treede48bd283644f89f9fbddb888077725b5ed23be0 /src/components/card_thumb.svelte
parentae2f1023b78820b37e5d8ca94e6de500feeefe38 (diff)
update data
Diffstat (limited to 'src/components/card_thumb.svelte')
-rw-r--r--src/components/card_thumb.svelte4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/card_thumb.svelte b/src/components/card_thumb.svelte
index 8a4f458..82b3396 100644
--- a/src/components/card_thumb.svelte
+++ b/src/components/card_thumb.svelte
@@ -25,7 +25,7 @@
src={cardImageUrl(id)}
alt="yugioh card {id}"
/>
- {#if limitNum === 1 || limitNum == 2}
+ {#if limitNum > 0}
<div class="overlay">{limitNum}</div>
{:else if limitNum === 0}
<div class="ban-overlay"></div>
@@ -47,7 +47,7 @@
justify-content: center;
font-weight: bold;
color: yellow;
- font-size: 15px;
+ font-size: 13px;
font-family: Arial, sans-serif;
box-sizing: border-box;
pointer-events: none;