Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit d1d4cc4

Browse files
authored
Use common subheading on sidebar user settings tab (#8823)
1 parent 6b40c0b commit d1d4cc4

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

res/css/views/settings/tabs/user/_SidebarUserSettingsTab.scss

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,6 @@ limitations under the License.
1515
*/
1616

1717
.mx_SidebarUserSettingsTab {
18-
.mx_SettingsTab_section {
19-
margin-top: 12px;
20-
}
21-
22-
.mx_SidebarUserSettingsTab_subheading {
23-
font-size: $font-15px;
24-
line-height: $font-24px;
25-
color: $primary-content;
26-
margin-bottom: 4px;
27-
}
28-
2918
.mx_Checkbox {
3019
margin-top: 12px;
3120
font-size: $font-15px;

src/components/views/settings/tabs/user/SidebarUserSettingsTab.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,8 @@ const SidebarUserSettingsTab = () => {
5555
return (
5656
<div className="mx_SettingsTab mx_SidebarUserSettingsTab">
5757
<div className="mx_SettingsTab_heading">{ _t("Sidebar") }</div>
58-
5958
<div className="mx_SettingsTab_section">
60-
<div className="mx_SidebarUserSettingsTab_subheading">{ _t("Spaces to show") }</div>
59+
<div className="mx_SettingsTab_subheading">{ _t("Spaces to show") }</div>
6160
<div className="mx_SettingsTab_subsectionText">
6261
{ _t("Spaces are ways to group rooms and people. " +
6362
"Alongside the spaces you're in, you can use some pre-built ones too.") }

0 commit comments

Comments
 (0)