refac: background image styling behaviour

This commit is contained in:
Timothy Jaeryang Baek committed 2025-11-13 20:54:23 -05:00
1 parent 4d41013804
commit bc2192e8bf
3 files changed
+13 -10

No files matched your search

+2 -2
View File
@@ -540,7 +540,7 @@
{#if !$mobile && !$showSidebar}
<div
class=" py-2 px-1.5 flex flex-col justify-between text-black dark:text-white hover:bg-gray-50/50 dark:hover:bg-gray-950/50 h-full border-e border-gray-50 dark:border-gray-850 z-10 transition-all"
class=" py-2 px-1.5 flex flex-col justify-between text-black dark:text-white hover:bg-gray-50/30 dark:hover:bg-gray-950/30 h-full z-10 transition-all border-e-[0.5px] border-gray-50 dark:border-gray-850"
id="sidebar"
>
<button
@@ -717,7 +717,7 @@
bind:this={navElement}
id="sidebar"
class="h-screen max-h-[100dvh] min-h-screen select-none {$showSidebar
? 'bg-gray-50 dark:bg-gray-950 z-50'
? 'bg-gray-50/50 dark:bg-gray-950/50 z-50'
: ' bg-transparent z-0 '} {$isApp
? `ml-[4.5rem] md:ml-0 `
: ' transition-all duration-300 '} shrink-0 text-gray-900 dark:text-gray-200 text-sm fixed top-0 left-0 overflow-x-hidden