Skip to content

Commit

Permalink
fix(Separator): ensure width doesn't collapse to 0 in flex containers
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinCsl committed Jan 7, 2025
1 parent 6ddbd57 commit 9c4e6b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/orbit-components/src/Separator/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const Separator = ({
label,
}: Props) => {
return (
<div className={cx("relative min-h-px", spaceAfter && getSpaceAfterClasses(spaceAfter))}>
<div className={cx("relative min-h-px w-full", spaceAfter && getSpaceAfterClasses(spaceAfter))}>
<hr
className={cx(
"orbit-separator",
Expand Down

0 comments on commit 9c4e6b2

Please sign in to comment.