Skip to content

Commit af7ca2a

Browse files
committed
refactor: Separator default 변경
- horizontal -> vertical
1 parent 860d156 commit af7ca2a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

apps/frontend/src/features/editor/ui/Editor/index.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,15 +106,15 @@ export function Editor({ ydoc, provider }: EditorProp) {
106106
}}
107107
className="flex w-fit max-w-[90vw] overflow-hidden rounded-md border border-muted bg-background shadow-xl"
108108
>
109-
<Separator orientation="vertical" />
109+
<Separator />
110110
<NodeSelector open={openNode} onOpenChange={setOpenNode} />
111-
<Separator orientation="vertical" />
111+
<Separator />
112112
<LinkSelector open={openLink} onOpenChange={setOpenLink} />
113-
<Separator orientation="vertical" />
113+
<Separator />
114114
<MathSelector />
115-
<Separator orientation="vertical" />
115+
<Separator />
116116
<TextButtons />
117-
<Separator orientation="vertical" />
117+
<Separator />
118118
<ColorSelector open={openColor} onOpenChange={setOpenColor} />
119119
</EditorBubble>
120120
</EditorContent>

apps/frontend/src/features/editor/ui/Editor/ui/separator.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const Separator = React.forwardRef<
1010
React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>
1111
>(
1212
(
13-
{ className, orientation = "horizontal", decorative = true, ...props },
13+
{ className, orientation = "vertical", decorative = true, ...props },
1414
ref,
1515
) => (
1616
<SeparatorPrimitive.Root

0 commit comments

Comments
 (0)