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

Commit

Permalink
Standardise the margin for settings tabs (#7963)
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Telatynski <[email protected]>
  • Loading branch information
yuktea and t3chguy authored May 12, 2022
1 parent 25428b0 commit ab26aad
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
6 changes: 0 additions & 6 deletions res/css/views/settings/_ProfileSettings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ limitations under the License.
.mx_ProfileSettings_controls {
flex-grow: 1;
margin-right: 54px;

// We put the header under the controls with some minor styling to cheat
// alignment of the field with the avatar
.mx_SettingsTab_subheading {
margin-top: 0;
}
}

.mx_ProfileSettings_controls .mx_Field #profileTopic {
Expand Down
1 change: 1 addition & 0 deletions res/css/views/settings/tabs/_SettingsTab.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ limitations under the License.
font-weight: 600;
color: $primary-content;
margin-bottom: 10px;
margin-top: 10px;
}

.mx_SettingsTab_heading:nth-child(n + 2) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ limitations under the License.
.mx_AppearanceUserSettingsTab {
> .mx_SettingsTab_SubHeading {
margin-bottom: 32px;
margin-top: 12px;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ limitations under the License.
}

.mx_SecurityUserSettingsTab {
.mx_SettingsTab_heading {
margin-bottom: 22px;
}
.mx_SettingsTab_section {
.mx_AccessibleButton_kind_link {
padding: 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ limitations under the License.

.mx_SidebarUserSettingsTab {
.mx_SettingsTab_section {
margin-top: 10px;
margin-top: 12px;
}

.mx_SidebarUserSettingsTab_subheading {
Expand Down

0 comments on commit ab26aad

Please sign in to comment.