Skip to content

Commit ee298f5

Browse files
authored
fix(ui): array field add button margin not applying consistently (#15773)
### What Array field "Add" button has excessive margin in some environments ### Why CSS load order caused base button margin to override array field margin due to equal specificity ### How Increased selector specificity to `.array-field__add-row.btn` to ensure the reduced margin always applies Fixes #15721
1 parent 4e3e780 commit ee298f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ui/src/fields/Array/index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
margin-bottom: 0;
7575
}
7676

77-
&__add-row {
77+
&__add-row.btn {
7878
align-self: flex-start;
7979
margin: 2px 0;
8080
--btn-color: var(--theme-elevation-400);

0 commit comments

Comments
 (0)