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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 56 additions and 56 deletions

View file

@ -28,7 +28,7 @@ limitations under the License.
flex-direction: row;
/* Right margin for the design. We could apply this to the whole dialog, but then the scrollbar */
/* for the user section gets weird. */
margin: $spacing-8 45px 0 0; /* TODO: Use a spacing variable */
margin: $spacing-8 45px 0 0;
.mx_InviteDialog_editor {
flex: 1;
@ -43,14 +43,14 @@ limitations under the License.
flex-wrap: wrap;
.mx_InviteDialog_userTile {
margin: 6px 6px 0 0; /* TODO: Use a spacing variable */
margin: 6px 6px 0 0;
display: inline-block;
min-width: max-content; /* prevent manipulation by flexbox */
}
/* overrides bunch of our default text input styles */
> input[type="text"] {
margin: 6px 0 !important; /* TODO: Use a spacing variable */
margin: 6px 0 !important;
height: 24px;
line-height: $font-24px;
font-size: $font-14px;
@ -67,7 +67,7 @@ limitations under the License.
.mx_InviteDialog_goButton {
min-width: 48px;
margin-inline-start: 10px; /* TODO: Use a spacing variable */
margin-inline-start: 10px;
height: 25px;
line-height: $font-25px;
}
@ -77,7 +77,7 @@ limitations under the License.
/* Width and height are required to trick the layout engine. */
width: 20px;
height: 20px;
margin-inline-start: 5px; /* TODO: Use a spacing variable */
margin-inline-start: 5px;
display: inline-block;
vertical-align: middle;
}
@ -103,7 +103,7 @@ limitations under the License.
}
.mx_InviteDialog_section_showMore {
margin: 7px 18px; /* TODO: Use a spacing variable */
margin: 7px 18px;
display: block;
}
}
@ -252,7 +252,7 @@ limitations under the License.
.mx_InviteDialog_userSections {
margin-top: $spacing-4;
overflow-y: auto;
padding: 0 45px $spacing-4 0; /* TODO: Use a spacing variable */
padding: 0 45px $spacing-4 0;
}
.mx_InviteDialog_helpText {
@ -289,7 +289,7 @@ limitations under the License.
.mx_DialPad {
row-gap: $spacing-16;
column-gap: 48px; /* TODO: Use a spacing variable */
column-gap: 48px;
margin-inline: auto;
}
}
@ -450,7 +450,7 @@ limitations under the License.
}
.mx_InviteDialog_identityServer {
margin-top: 1em; /* TODO: Use a spacing variable */
margin-top: 1em;
}
.mx_InviteDialog_oneThreepid {