Skip to content

Commit f9fb9eb

Browse files
authored
ActionBar: Add padding to Divider when gap="none" (#7223)
1 parent bf675e2 commit f9fb9eb

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.changeset/mean-facts-brush.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@primer/react': patch
3+
---
4+
5+
ActionBar: Add padding to Divider when gap="none".

packages/react/src/ActionBar/ActionBar.module.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
/* Gap scale (mirrors Stack) */
1515
&:where([data-gap='none']) {
1616
--actionbar-gap: 0;
17+
18+
.Divider {
19+
padding: 0 var(--base-size-8);
20+
}
1721
}
1822

1923
&:where([data-gap='condensed']) {

0 commit comments

Comments
 (0)