From ef8903a856686482bad0bdf65e5ab91f97c2d76e Mon Sep 17 00:00:00 2001 From: juliajforesti Date: Thu, 19 Dec 2024 14:10:11 -0300 Subject: [PATCH 1/2] fix: sidebar styles --- .../fuselage/src/components/SidebarV2/Sidebar.styles.scss | 4 +++- .../SidebarV2/SidebarFooter/SidebarFooter.styles.scss | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/fuselage/src/components/SidebarV2/Sidebar.styles.scss b/packages/fuselage/src/components/SidebarV2/Sidebar.styles.scss index d8da6b8a25..4f91411107 100644 --- a/packages/fuselage/src/components/SidebarV2/Sidebar.styles.scss +++ b/packages/fuselage/src/components/SidebarV2/Sidebar.styles.scss @@ -139,7 +139,9 @@ $sidebar-banner-color-danger: theme( align-items: center; min-height: lengths.size(24); - padding: lengths.padding(8) lengths.padding(16); + + padding: calc(lengths.padding(8) - lengths.border-width('default')) + calc(lengths.padding(16) - lengths.border-width('default')); text-align: start; diff --git a/packages/fuselage/src/components/SidebarV2/SidebarFooter/SidebarFooter.styles.scss b/packages/fuselage/src/components/SidebarV2/SidebarFooter/SidebarFooter.styles.scss index 0c129b0603..c613e71904 100644 --- a/packages/fuselage/src/components/SidebarV2/SidebarFooter/SidebarFooter.styles.scss +++ b/packages/fuselage/src/components/SidebarV2/SidebarFooter/SidebarFooter.styles.scss @@ -8,7 +8,7 @@ flex-direction: column; justify-content: center; - height: lengths.size(48); + min-height: lengths.size(48); padding-block: lengths.padding(12) lengths.padding(8); padding-inline: lengths.padding(16); From 65c878dcfeadda5543429fc2ec64c817b43af091 Mon Sep 17 00:00:00 2001 From: juliajforesti Date: Thu, 19 Dec 2024 16:01:14 -0300 Subject: [PATCH 2/2] chore: changeset --- .changeset/healthy-dryers-admire.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/healthy-dryers-admire.md diff --git a/.changeset/healthy-dryers-admire.md b/.changeset/healthy-dryers-admire.md new file mode 100644 index 0000000000..8052c82706 --- /dev/null +++ b/.changeset/healthy-dryers-admire.md @@ -0,0 +1,5 @@ +--- +'@rocket.chat/fuselage': patch +--- + +fix(fuselage): `SidebarV2` styles