We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d0986a commit 1bc4a83Copy full SHA for 1bc4a83
1 file changed
services/frontend/src/components/DashboardLayout.vue
@@ -58,9 +58,14 @@ const sidebarStyle = computed(() => ({
58
width: 100%;
59
}
60
61
-/* Ensure the spacer div actually takes up space */
62
-.group\/sidebar-wrapper .group.peer [class*="w-[--sidebar-width]"] {
63
- width: var(--sidebar-width) !important;
+/* Ensure the spacer div actually takes up space when expanded */
+.group\/sidebar-wrapper .group.peer[data-state="expanded"] [class*="w-[--sidebar-width]"] {
+ width: var(--sidebar-width);
64
+}
65
+
66
+/* Allow the spacer to collapse when sidebar is collapsed */
67
+.group\/sidebar-wrapper .group.peer[data-state="collapsed"] [class*="w-[--sidebar-width]"] {
68
+ width: var(--sidebar-width-icon);
69
70
71
/* Force the main content to account for sidebar space */
0 commit comments