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

Commit 18d7f7c

Browse files
authored
Use mx_SettingsTab_subsectionText for the text under the top header of appearance user settings tab (#8822)
1 parent d1d4cc4 commit 18d7f7c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ limitations under the License.
1515
*/
1616

1717
.mx_AppearanceUserSettingsTab {
18-
> .mx_SettingsTab_SubHeading {
18+
.mx_SettingsTab_subsectionText {
1919
margin-block: $spacing-12 $spacing-32;
20+
color: $primary-content; // Same as mx_SettingsTab
2021
}
2122

2223
.mx_Field {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export default class AppearanceUserSettingsTab extends React.Component<IProps, I
143143
return (
144144
<div className="mx_SettingsTab mx_AppearanceUserSettingsTab">
145145
<div className="mx_SettingsTab_heading">{ _t("Customise your appearance") }</div>
146-
<div className="mx_SettingsTab_SubHeading">
146+
<div className="mx_SettingsTab_subsectionText">
147147
{ _t("Appearance Settings only affect this %(brand)s session.", { brand }) }
148148
</div>
149149
<ThemeChoicePanel />

0 commit comments

Comments
 (0)