Skip to content

Commit c68c824

Browse files
fix(sidebar): prevent overflow in SidebarSeparator with horizontal orientation
Updated SidebarSeparator component to use `data-[orientation=horizontal]:w-auto` instead of `w-auto` to prevent overflow issues caused by underlying Separator classes. The change makes the width override more specific, only applying to horizontal separators, which prevents conflicts with other Separator styling.
1 parent 2de91c6 commit c68c824

File tree

111 files changed

+1354
-1354
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+1354
-1354
lines changed

apps/v4/__registry__/index.ts

Lines changed: 142 additions & 142 deletions
Large diffs are not rendered by default.

apps/v4/public/r/index.json

Lines changed: 108 additions & 108 deletions
Large diffs are not rendered by default.

apps/v4/registry/new-york-v4/ui/sidebar/SidebarSeparator.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const props = defineProps<{
1212
<Separator
1313
data-slot="sidebar-separator"
1414
data-sidebar="separator"
15-
:class="cn('bg-sidebar-border mx-2 w-auto', props.class)"
15+
:class="cn('bg-sidebar-border mx-2 data-[orientation=horizontal]:w-auto', props.class)"
1616
>
1717
<slot />
1818
</Separator>

0 commit comments

Comments
 (0)