Skip to content

Commit

Permalink
fix(fuselage): SidebarItem margins (#1202)
Browse files Browse the repository at this point in the history
  • Loading branch information
juliajforesti authored Oct 19, 2023
1 parent 6db5cb2 commit a7ec3d9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/nine-tomatoes-appear.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/fuselage": patch
---

fix(fuselage): `SidebarItem` margins
3 changes: 2 additions & 1 deletion packages/fuselage/src/components/Sidebar/Sidebar.styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ $sidebar-banner-color-danger: theme(
&-item {
@extend %sidebar-base;
@include highlighted;
margin-inline: lengths.margin(-2);

padding-block: lengths.padding(4);
padding-inline: lengths.padding(16);
Expand All @@ -217,7 +218,7 @@ $sidebar-banner-color-danger: theme(
@include typography.use-with-truncated-text();
flex: 1 0;

margin-inline: lengths.margin(-4);
margin-inline: lengths.margin(-2);
}

&--clickable {
Expand Down

0 comments on commit a7ec3d9

Please sign in to comment.