Use variables for the rem values.
It's become obvious that these random floating points everywhere are unwieldy. Now they're all in one place with some fairly logical variable names which will help out in design->implementation phase.
This commit is contained in:
@@ -19,7 +19,7 @@ limitations under the License.
|
||||
}
|
||||
|
||||
.mx_SettingsTab_heading {
|
||||
font-size: 1.333rem;
|
||||
font-size: $font-20px;
|
||||
font-weight: 600;
|
||||
color: $primary-fg-color;
|
||||
}
|
||||
@@ -29,7 +29,7 @@ limitations under the License.
|
||||
}
|
||||
|
||||
.mx_SettingsTab_subheading {
|
||||
font-size: 1.067rem;
|
||||
font-size: $font-16px;
|
||||
display: block;
|
||||
font-family: $font-family;
|
||||
font-weight: 600;
|
||||
@@ -40,7 +40,7 @@ limitations under the License.
|
||||
|
||||
.mx_SettingsTab_subsectionText {
|
||||
color: $settings-subsection-fg-color;
|
||||
font-size: 0.933rem;
|
||||
font-size: $font-14px;
|
||||
display: block;
|
||||
margin: 10px 100px 10px 0; // Align with the rest of the view
|
||||
}
|
||||
@@ -61,7 +61,7 @@ limitations under the License.
|
||||
.mx_SettingsTab_section .mx_SettingsFlag .mx_SettingsFlag_label {
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
font-size: 0.933rem;
|
||||
font-size: $font-14px;
|
||||
color: $primary-fg-color;
|
||||
max-width: calc(100% - 48px); // Force word wrap instead of colliding with the switch
|
||||
box-sizing: border-box;
|
||||
|
||||
Reference in New Issue
Block a user