From d1d4cc42bc41b6a94478f42677ef41348ed6bb85 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Sun, 12 Jun 2022 13:12:34 +0000 Subject: [PATCH] Use common subheading on sidebar user settings tab (#8823) --- .../settings/tabs/user/_SidebarUserSettingsTab.scss | 11 ----------- .../settings/tabs/user/SidebarUserSettingsTab.tsx | 3 +-- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/res/css/views/settings/tabs/user/_SidebarUserSettingsTab.scss b/res/css/views/settings/tabs/user/_SidebarUserSettingsTab.scss index 5000f3e9a6..f4c248a584 100644 --- a/res/css/views/settings/tabs/user/_SidebarUserSettingsTab.scss +++ b/res/css/views/settings/tabs/user/_SidebarUserSettingsTab.scss @@ -15,17 +15,6 @@ limitations under the License. */ .mx_SidebarUserSettingsTab { - .mx_SettingsTab_section { - margin-top: 12px; - } - - .mx_SidebarUserSettingsTab_subheading { - font-size: $font-15px; - line-height: $font-24px; - color: $primary-content; - margin-bottom: 4px; - } - .mx_Checkbox { margin-top: 12px; font-size: $font-15px; diff --git a/src/components/views/settings/tabs/user/SidebarUserSettingsTab.tsx b/src/components/views/settings/tabs/user/SidebarUserSettingsTab.tsx index 1b1fcf4716..0efe65418b 100644 --- a/src/components/views/settings/tabs/user/SidebarUserSettingsTab.tsx +++ b/src/components/views/settings/tabs/user/SidebarUserSettingsTab.tsx @@ -55,9 +55,8 @@ const SidebarUserSettingsTab = () => { return (
{ _t("Sidebar") }
-
-
{ _t("Spaces to show") }
+
{ _t("Spaces to show") }
{ _t("Spaces are ways to group rooms and people. " + "Alongside the spaces you're in, you can use some pre-built ones too.") }