1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-08-09 08:42:50 +03:00

Remove TODO comments about spacing variables (#10695)

The variables on _spacing.pcss have been deprecated by https://github.com/matrix-org/matrix-react-sdk/pull/10686
This commit is contained in:
Suguru Hirahara
2023-06-06 14:03:52 +00:00
committed by GitHub
parent c42a7769e9
commit d340fa8d2a
18 changed files with 56 additions and 56 deletions

View File

@@ -24,11 +24,11 @@ limitations under the License.
display: flow-root;
&.mx_IRCLayout {
padding-top: 9px; /* TODO: Use a spacing variable */
padding-top: 9px;
}
.mx_EventTile[data-layout="bubble"] {
margin-top: 30px; /* TODO: Use a spacing variable */
margin-top: 30px;
}
.mx_EventTile_msgOption {
@@ -39,7 +39,7 @@ limitations under the License.
.mx_FontScalingPanel_fontSlider {
display: flex;
align-items: center;
padding: 15px $spacing-20 35px; /* TODO: Use spacing variables */
padding: 15px $spacing-20 35px;
background: rgba($quinary-content, 0.2);
border-radius: 10px;
font-size: $font-10px;

View File

@@ -57,7 +57,7 @@ limitations under the License.
> .mx_AccessibleButton_kind_link {
font-size: $font-14px;
margin-inline-end: 10px; /* TODO: Use a spacing variable */
margin-inline-end: 10px;
}
}
}

View File

@@ -16,7 +16,7 @@ limitations under the License.
.mx_SettingsSection {
--SettingsTab_section-margin-bottom-preferences-labs: 30px;
--SettingsTab_heading_nth_child-margin-top: 30px; /* TODO: Use a spacing variable */
--SettingsTab_heading_nth_child-margin-top: 30px;
--SettingsTab_tooltip-max-width: 120px; /* So it fits in the space provided by the page */
color: $primary-content;

View File

@@ -50,9 +50,9 @@ limitations under the License.
color: $secondary-content;
font-size: $font-14px;
display: block;
margin-top: 10px; /* TODO: Use a spacing variable */
margin-top: 10px;
margin-inline-end: 80px; /* Align with the rest of the view */
margin-bottom: 10px; /* TODO: Use a spacing variable */
margin-bottom: 10px;
margin-inline-start: 0;
}
@@ -63,7 +63,7 @@ limitations under the License.
.mx_SettingsFlag {
margin-inline-end: $end-gutter;
margin-bottom: 10px; /* TODO: Use a spacing variable */
margin-bottom: 10px;
.mx_SettingsFlag_label {
vertical-align: middle;