The next-generation file converter. Open source, fully local* and free forever.
fix mobile navbar again
JovannMC1162082dc243
diff --git a/src/lib/components/functional/Navbar.svelte b/src/lib/components/functional/Navbar.svelteindex c3ff262..c583030 100644--- a/src/lib/components/functional/Navbar.svelte+++ b/src/lib/components/functional/Navbar.svelte@@ -138,14 +138,15 @@{#if linkRects[selectedIndex]}<divclass="absolute bg-panel-accented rounded-xl"- style="width: {linkRects[selectedIndex].width}px; height: {linkRects[selectedIndex].height}px; top: {linkRects[selectedIndex].top - (containerRect?.top || 0)}px; left: {linkRects[selectedIndex].left - (containerRect?.left || 0)}px; transition: left var(--transition) {duration}ms, top var(--transition) {duration}ms;"+ style="width: {linkRects[selectedIndex]+ .width}px; height: {linkRects[selectedIndex]+ .height}px; top: {linkRects[selectedIndex].top -+ (containerRect?.top || 0)}px; left: {linkRects[+ selectedIndex+ ].left -+ (containerRect?.left ||+ 0)}px; transition: left var(--transition) {duration}ms, top var(--transition) {duration}ms;"></div>- {#if browser && window.innerWidth < 768}- <div- class="absolute bg-panel-accented rounded-xl"- style="width: {linkRects[selectedIndex].width}px; height: {linkRects[selectedIndex].height / 2}px; bottom: {window.innerHeight - linkRects[selectedIndex].bottom}px; left: {linkRects[selectedIndex].left - (containerRect?.left || 0)}px; transition: left var(--transition) {duration}ms, bottom var(--transition) {duration}ms;"- ></div>- {/if}{/if}<divclass="w-32 h-full bg-accent rounded-xl items-center justify-center hidden md:flex"@@ -157,10 +158,10 @@{#each items as item, i (item.url)}{@render link(item, i)}{/each}- <div class="w-0.5 bg-separator h-full hidden md:flex"></div>+ <div class="w-0.5 bg-separator h-full flex"></div><buttononclick={theme.toggle}- class="w-14 h-full items-center justify-center hidden md:flex"+ class="w-14 h-full items-center justify-center flex"><SunIcon class="dynadark:hidden block" /><MoonIcon class="dynadark:block hidden" />