feat: much better mobile view design (#11)

This commit is contained in:
saica.go authored and GitHub committed 2024-01-22 02:06:24 +08:00
1 parent 6ba4db0ef8
commit 025953bca3
15 files changed
+50 -82

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ const { badge, url, name } = Astro.props
<slot></slot>
</div>
{ badge !== undefined && badge !== null && badge !== '' &&
<div class="transition h-[28px] ml-4 min-w-[32px] rounded-lg text-sm font-bold
<div class="transition h-7 ml-4 min-w-[2rem] rounded-lg text-sm font-bold
text-[var(--btn-content)] dark:text-[var(--deep-text)]
bg-[oklch(0.95_0.025_var(--hue))] dark:bg-[var(--primary)]
flex items-center justify-center">