Skip to content

Commit 056c74d

Browse files
committed
Revert this
1 parent e889162 commit 056c74d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/lib/components/ui/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Now it should be easier to see what the CLI actually changed, and we can now pro
2121
If the `sidebar` component was modified by the CLI, it most likely went back to using `ease-linear` and `duration-200`.
2222
* Change `ease-linear` for the sidebar to `ease-in-out`.
2323
* Increase the duration from `duration-200` to `duration-300`.
24+
* If the `sidebar-menu-sub` component was modified, ensure that the `ml-*` classes were not reverted back to `mx-*` classes.
2425

2526
2. **Update `sonner` component if modified**
2627

src/lib/components/ui/sidebar/sidebar-menu-sub.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
data-slot="sidebar-menu-sub"
1616
data-sidebar="menu-sub"
1717
class={cn(
18-
"border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5",
18+
"border-sidebar-border ml-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l pl-2.5 py-0.5",
1919
"group-data-[collapsible=icon]:hidden",
2020
className
2121
)}

0 commit comments

Comments
 (0)