불필요한 css 제거

This commit is contained in:
static
2025-01-08 23:50:35 +09:00
parent 6559381ed4
commit 96cdb2d1b5
13 changed files with 16 additions and 17 deletions

View File

@@ -20,18 +20,16 @@
// TODO: Navigation
</script>
<div
class="sticky bottom-0 h-20 w-full flex-shrink-0 rounded-t-2xl border-t border-gray-300 bg-white"
>
<div class="sticky bottom-0 h-20 flex-shrink-0 rounded-t-2xl border-t border-gray-300 bg-white">
<AdaptiveDiv>
<div class="flex w-full justify-evenly px-4 py-2">
<div class="flex justify-evenly px-4 py-2">
{#each pages as { path, label, icon: Icon }}
{@const textColor = !page.url.pathname.startsWith(path) ? "text-gray-600" : ""}
<button
onclick={() => goto(path)}
class="w-16 active:rounded-xl active:bg-gray-100 {textColor}"
>
<div class="gap-y flex flex-col items-center gap-y-1 p-1 transition active:scale-95">
<div class="flex flex-col items-center gap-y-1 p-1 transition active:scale-95">
<Icon class="text-xl" fill="0" />
<p class="text-sm">{label}</p>
</div>