Remove unique settings from labs user settings tab (#8828)
* Remove redundant style declarations Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Remove obsolete float setting Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Remove special margin setting Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Remove unnecessary specificity Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Reset the margin with a variable Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
This commit is contained in:
parent
b03aa2ebf5
commit
2c751a4fa6
3 changed files with 6 additions and 10 deletions
|
@ -15,6 +15,7 @@ limitations under the License.
|
|||
*/
|
||||
|
||||
.mx_SettingsTab {
|
||||
--SettingsTab_section-margin-bottom-preferences-labs: 30px;
|
||||
color: $primary-content;
|
||||
}
|
||||
|
||||
|
|
|
@ -15,18 +15,13 @@ limitations under the License.
|
|||
*/
|
||||
|
||||
.mx_LabsUserSettingsTab {
|
||||
.mx_SettingsTab_subsectionText, .mx_SettingsTab_section {
|
||||
margin-bottom: 30px;
|
||||
.mx_SettingsTab_subsectionText,
|
||||
.mx_SettingsTab_section {
|
||||
margin-bottom: var(--SettingsTab_section-margin-bottom-preferences-labs);
|
||||
}
|
||||
|
||||
.mx_SettingsTab_section .mx_SettingsFlag {
|
||||
.mx_SettingsFlag {
|
||||
margin-right: 0; // remove right margin to align with beta cards
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
|
||||
.mx_ToggleSwitch {
|
||||
float: unset;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@ limitations under the License.
|
|||
}
|
||||
|
||||
.mx_SettingsTab_section {
|
||||
margin-bottom: 30px;
|
||||
margin-bottom: var(--SettingsTab_section-margin-bottom-preferences-labs);
|
||||
|
||||
> details {
|
||||
> summary {
|
||||
|
|
Loading…
Reference in a new issue