mirror of
https://github.com/youwen5/site.git
synced 2024-11-24 17:33:51 -08:00
fix: dont break navbar logo with text tracking
- text tracking property moved to only navbar links to avoid messing with logo formatting
This commit is contained in:
parent
e53029c9e6
commit
50ee265305
1 changed files with 2 additions and 4 deletions
|
@ -26,9 +26,7 @@
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<nav
|
<nav class="h-16 lg:h-24 bg-background bg-opacity-50 backdrop-blur-lg fixed w-full z-40 font-serif">
|
||||||
class="h-16 lg:h-24 bg-background bg-opacity-50 backdrop-blur-lg fixed w-full z-40 font-serif tracking-tight"
|
|
||||||
>
|
|
||||||
<div class="container mx-auto flex justify-between items-center h-full gap-6 overflow-x-auto">
|
<div class="container mx-auto flex justify-between items-center h-full gap-6 overflow-x-auto">
|
||||||
<Drawer />
|
<Drawer />
|
||||||
{#if current === 'blog'}
|
{#if current === 'blog'}
|
||||||
|
@ -36,7 +34,7 @@
|
||||||
{:else}
|
{:else}
|
||||||
<Name height="95%" href="/" />
|
<Name height="95%" href="/" />
|
||||||
{/if}
|
{/if}
|
||||||
<div class="gap-4 lg:gap-14 justify-around align-middle hidden md:flex">
|
<div class="gap-4 lg:gap-14 justify-around align-middle hidden md:flex tracking-tight">
|
||||||
<a
|
<a
|
||||||
href="/"
|
href="/"
|
||||||
class="text-lg sm:text-xl md:text-2xl font-medium text-primary px-4 py-1 rounded-3xl hover:bg-zinc-300 dark:hover:bg-zinc-800 transition-colors duration-200"
|
class="text-lg sm:text-xl md:text-2xl font-medium text-primary px-4 py-1 rounded-3xl hover:bg-zinc-300 dark:hover:bg-zinc-800 transition-colors duration-200"
|
||||||
|
|
Loading…
Reference in a new issue