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

Commit ab26aad

Browse files
yukteat3chguy
andauthored
Standardise the margin for settings tabs (#7963)
Co-authored-by: Michael Telatynski <[email protected]>
1 parent 25428b0 commit ab26aad

File tree

5 files changed

+6
-7
lines changed

5 files changed

+6
-7
lines changed

res/css/views/settings/_ProfileSettings.scss

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,6 @@ limitations under the License.
2828
.mx_ProfileSettings_controls {
2929
flex-grow: 1;
3030
margin-right: 54px;
31-
32-
// We put the header under the controls with some minor styling to cheat
33-
// alignment of the field with the avatar
34-
.mx_SettingsTab_subheading {
35-
margin-top: 0;
36-
}
3731
}
3832

3933
.mx_ProfileSettings_controls .mx_Field #profileTopic {

res/css/views/settings/tabs/_SettingsTab.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ limitations under the License.
2727
font-weight: 600;
2828
color: $primary-content;
2929
margin-bottom: 10px;
30+
margin-top: 10px;
3031
}
3132

3233
.mx_SettingsTab_heading:nth-child(n + 2) {

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ limitations under the License.
2121
.mx_AppearanceUserSettingsTab {
2222
> .mx_SettingsTab_SubHeading {
2323
margin-bottom: 32px;
24+
margin-top: 12px;
2425
}
2526
}
2627

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ limitations under the License.
2727
}
2828

2929
.mx_SecurityUserSettingsTab {
30+
.mx_SettingsTab_heading {
31+
margin-bottom: 22px;
32+
}
3033
.mx_SettingsTab_section {
3134
.mx_AccessibleButton_kind_link {
3235
padding: 0;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ limitations under the License.
1616

1717
.mx_SidebarUserSettingsTab {
1818
.mx_SettingsTab_section {
19-
margin-top: 10px;
19+
margin-top: 12px;
2020
}
2121

2222
.mx_SidebarUserSettingsTab_subheading {

0 commit comments

Comments
 (0)