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

@@ -36,7 +36,7 @@ limitations under the License.
kbd {
display: inline-block;
padding: 2px $spacing-4; /* TODO: Use a spacing variable */
padding: 2px $spacing-4;
margin: 0 $spacing-4;
border-radius: 6px;
background-color: $quinary-content;
@@ -76,7 +76,7 @@ limitations under the License.
vertical-align: middle;
color: $primary-content;
position: relative;
padding: $spacing-4 $spacing-8 $spacing-4 37px; /* TODO: Use a spacing variable */
padding: $spacing-4 $spacing-8 $spacing-4 37px;
&::before {
background-color: $secondary-content;
@@ -234,7 +234,7 @@ limitations under the License.
.mx_SpotlightDialog_otherSearches,
.mx_SpotlightDialog_hiddenResults {
.mx_SpotlightDialog_option {
padding: 6px $spacing-4; /* TODO: Use a spacing variable */
padding: 6px $spacing-4;
border-radius: 8px;
font-size: $font-15px;
line-height: $font-24px;
@@ -258,11 +258,11 @@ limitations under the License.
.mx_AccessibleButton {
padding: $spacing-4 $spacing-20;
margin: 2px $spacing-4; /* TODO: Use a spacing variable */
margin: 2px $spacing-4;
}
.mx_SpotlightDialog_enterPrompt {
margin-top: 9px; /* TODO: Use a spacing variable */
margin-top: 9px;
margin-right: $spacing-8;
}
}
@@ -379,7 +379,7 @@ limitations under the License.
.mx_AccessibleButton {
position: relative;
margin: 0;
padding: 3px $spacing-8 3px $spacing-28; /* TODO: Use a spacing variable */
padding: 3px $spacing-8 3px $spacing-28;
&::before {
content: "";
@@ -480,7 +480,7 @@ limitations under the License.
}
.mx_SpotlightDialog_enterPrompt {
padding: 2px $spacing-4; /* TODO: Use a spacing variable */
padding: 2px $spacing-4;
/* To avoid any styling inherent with <kbd> elements */
font-family: inherit;
font-weight: inherit;