Skip to content

Commit

Permalink
fix(fuselage): remove margins from ButtonGroup first and last items (
Browse files Browse the repository at this point in the history
  • Loading branch information
juliajforesti authored Apr 10, 2024
1 parent 770d370 commit fb71052
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .changeset/mighty-gifts-impress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/fuselage": patch
---

fix(fuselage): remove margins from `ButtonGroup` first and last items
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,6 @@
.rcx-button-group__item {
margin-inline: lengths.margin(4);

&:first-of-type {
margin-inline-start: lengths.margin(none);
}

&:last-of-type {
margin-inline-end: lengths.margin(none);
}

.rcx-button-group--small & {
margin-inline: lengths.margin(2);
}
Expand All @@ -57,6 +49,14 @@
margin-inline: lengths.margin(8);
}

&:first-of-type {
margin-inline-start: lengths.margin(none);
}

&:last-of-type {
margin-inline-end: lengths.margin(none);
}

.rcx-button-group--wrap > & {
margin-block-end: lengths.margin(16);
margin-inline-start: lengths.margin(none);
Expand Down

0 comments on commit fb71052

Please sign in to comment.