mirror of
https://github.com/youwen5/site.git
synced 2024-11-28 10:53:50 -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>
|
||||
|
||||
<nav
|
||||
class="h-16 lg:h-24 bg-background bg-opacity-50 backdrop-blur-lg fixed w-full z-40 font-serif tracking-tight"
|
||||
>
|
||||
<nav class="h-16 lg:h-24 bg-background bg-opacity-50 backdrop-blur-lg fixed w-full z-40 font-serif">
|
||||
<div class="container mx-auto flex justify-between items-center h-full gap-6 overflow-x-auto">
|
||||
<Drawer />
|
||||
{#if current === 'blog'}
|
||||
|
@ -36,7 +34,7 @@
|
|||
{:else}
|
||||
<Name height="95%" href="/" />
|
||||
{/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
|
||||
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"
|
||||
|
|
Loading…
Reference in a new issue