We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 640187e commit 722eb35Copy full SHA for 722eb35
1 file changed
adminforth/spa/src/components/Sidebar.vue
@@ -9,7 +9,8 @@
9
'-translate-x-full': !sideBarOpen,
10
'transform-none': sideBarOpen,
11
'sidebar-collapsed': iconOnlySidebarEnabled && isSidebarIconOnly && !isSidebarHovering,
12
- 'sidebar-expanded': !iconOnlySidebarEnabled || !isSidebarIconOnly || (isSidebarIconOnly && isSidebarHovering)
+ 'sidebar-expanded': !iconOnlySidebarEnabled || !isSidebarIconOnly || (isSidebarIconOnly && isSidebarHovering),
13
+ 'sidebar-floating': isSidebarIconOnly && isSidebarHovering
14
}"
15
aria-label="Sidebar"
16
>
@@ -217,6 +218,9 @@
217
218
219
.sidebar-expanded {
220
width: v-bind(expandedWidth); /* Expanded width (w-64) */
221
+ }
222
+
223
+ .sidebar-floating {
224
box-shadow: 3px 0px 12px -2px rgba(0, 0, 0, 0.15);
225
}
226
0 commit comments