Skip to content

Commit e485cd5

Browse files
committed
Add !important to desktop sidebar classes
Applied the !important modifier to 'lg:fixed' and 'lg:flex' classes in the desktop sidebar div to ensure these styles take precedence. This change helps resolve potential style conflicts affecting sidebar layout on large screens.
1 parent e9bdb8d commit e485cd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/livewire/content-sidebar.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class="p-4 rounded-full shadow-md"
5555
</x-filament::modal>
5656

5757
<!-- Static sidebar for desktop -->
58-
<div class="hidden lg:fixed lg:top-y-16 lg:left-0 lg:w-72 lg:flex lg:flex-col content-sidebar_desktop z-40 h-svh">
58+
<div class="hidden lg:fixed! lg:top-y-16 lg:left-0 lg:w-72 lg:flex! lg:flex-col content-sidebar_desktop z-40 h-svh">
5959
<div class="flex grow flex-col gap-y-5 overflow-y-auto overflow-x-visible border-e border-gray-200 bg-white py-2 dark:bg-gray-900 dark:border-gray-700">
6060
<x-inspirecms-support::tree-node.service-side-tree
6161
:nodes="$nodes"

0 commit comments

Comments
 (0)