Skip to content

Commit 85656a0

Browse files
fix(actiongroup): revert flex: 1 setting for vertical-justified
- for justified action groups, specify that the desired effect is for them to grow to fill the available space (as opposed to allow allowing flex-shrink) - add changeset
1 parent 0980463 commit 85656a0

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.changeset/calm-ears-think.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@spectrum-css/actiongroup": patch
3+
---
4+
5+
Action group
6+
7+
`flex: 1` has now changed to `flex-grow: 1` in the `.spectrum-ActionGroup--justified .spectrum-ActionGroup-item` selector to specify the desired behavior of justified action groups.

components/actiongroup/index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,5 +154,5 @@
154154
}
155155

156156
.spectrum-ActionGroup--justified .spectrum-ActionGroup-item {
157-
flex: 1;
157+
flex-grow: 1;
158158
}

0 commit comments

Comments
 (0)