diff options
| author | Mistivia <i@mistivia.com> | 2025-09-24 08:45:00 +0800 |
|---|---|---|
| committer | Mistivia <i@mistivia.com> | 2025-09-24 08:45:00 +0800 |
| commit | 5442f466e67b265c7e44e32d8e1ca605b1e7e153 (patch) | |
| tree | de48bd283644f89f9fbddb888077725b5ed23be0 /src/components/card_thumb.svelte | |
| parent | ae2f1023b78820b37e5d8ca94e6de500feeefe38 (diff) | |
update data
Diffstat (limited to 'src/components/card_thumb.svelte')
| -rw-r--r-- | src/components/card_thumb.svelte | 4 |
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; |
