From f7fedd580b46438946bd36d12b84562071f8cbc5 Mon Sep 17 00:00:00 2001 From: juliajforesti Date: Thu, 19 Oct 2023 15:11:13 -0300 Subject: [PATCH 1/2] fix: sidebar margins --- packages/fuselage/src/components/Sidebar/Sidebar.styles.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/fuselage/src/components/Sidebar/Sidebar.styles.scss b/packages/fuselage/src/components/Sidebar/Sidebar.styles.scss index 36073883bd..a04e16a1ae 100644 --- a/packages/fuselage/src/components/Sidebar/Sidebar.styles.scss +++ b/packages/fuselage/src/components/Sidebar/Sidebar.styles.scss @@ -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); @@ -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 { From 58c4bc926f9232ff767f4d364bde0c7fc9e1b71e Mon Sep 17 00:00:00 2001 From: juliajforesti Date: Thu, 19 Oct 2023 15:14:04 -0300 Subject: [PATCH 2/2] chore: changeset --- .changeset/nine-tomatoes-appear.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/nine-tomatoes-appear.md diff --git a/.changeset/nine-tomatoes-appear.md b/.changeset/nine-tomatoes-appear.md new file mode 100644 index 0000000000..03bc8d7095 --- /dev/null +++ b/.changeset/nine-tomatoes-appear.md @@ -0,0 +1,5 @@ +--- +"@rocket.chat/fuselage": patch +--- + +fix(fuselage): `SidebarItem` margins