Fix font & spaces in settings subsection (#28631)
* Fix settings header * Fix gap between subsection * Update tests * Update e2e tests * Update snapshots
This commit is contained in:
parent
db5b3359c6
commit
5a418f3f19
13 changed files with 19 additions and 18 deletions
|
@ -13,7 +13,16 @@ Please see LICENSE files in the repository root for full details.
|
|||
&.mx_SettingsSubsection_newUi {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--cpd-space-8x);
|
||||
gap: var(--cpd-space-6x);
|
||||
}
|
||||
|
||||
*[role="separator"] {
|
||||
/**
|
||||
* The gap between subsections is 32px and inside the subsection is 24px.
|
||||
* The separator separates the subsections, so it should have the same gap as the subsections.
|
||||
* We add 12px and the separator spacing to the top margin to make the separator visually centered between the subsections.
|
||||
*/
|
||||
margin-top: calc(var(--cpd-space-3x) + var(--cpd-separator-spacing));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue