Skip to content

Commit 2584527

Browse files
Copilotmfranzke
andauthored
fix(DBDivider): margin override issue for data-margin="none" (#4843)
* Initial plan * Fix DBDivider margin override issue by removing explicit margin: 0 for data-margin="none" Co-authored-by: mfranzke <787658+mfranzke@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: mfranzke <787658+mfranzke@users.noreply.github.com>
1 parent a180831 commit 2584527

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

packages/components/src/components/divider/divider.scss

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@
1414
margin: variables.$db-spacing-fixed-lg 0;
1515
}
1616

17-
&[data-margin="none"] {
18-
margin: 0;
19-
}
20-
2117
&:not([data-variant="vertical"]) {
2218
block-size: variables.$db-border-width-3xs;
2319

@@ -45,10 +41,6 @@
4541
margin: 0 variables.$db-spacing-fixed-lg;
4642
}
4743

48-
&[data-margin="none"] {
49-
margin: 0;
50-
}
51-
5244
&[data-width="full"] {
5345
block-size: 100%;
5446
}

0 commit comments

Comments
 (0)