Disallow invalid inline style comments in stylesheets (#9099)

This commit is contained in:
Germain
2022-07-27 14:39:29 +01:00
committed by GitHub
parent 8eeeee1aa2
commit 72c24af5c0
193 changed files with 1520 additions and 1518 deletions

View File

@@ -23,12 +23,12 @@ limitations under the License.
height: 24px;
margin-inline-end: $spacing-8;
position: relative;
top: 5px; // TODO: spacing variable
top: 5px; /* TODO: spacing variable */
background-color: $primary-content;
}
&.mx_AccessSecretStorageDialog_resetBadge::before {
// The image isn't capable of masking, so we use a background instead.
/* The image isn't capable of masking, so we use a background instead. */
background-image: url("$(res)/img/element-icons/warning-badge.svg");
background-size: 24px;
background-color: transparent;
@@ -81,7 +81,7 @@ limitations under the License.
mask-repeat: no-repeat;
mask-position: center;
mask-size: 20px;
margin-inline-end: 5px; // TODO: spacing variable
margin-inline-end: 5px; /* TODO: spacing variable */
}
&.mx_AccessSecretStorageDialog_recoveryKeyFeedback--valid {
@@ -104,12 +104,12 @@ limitations under the License.
}
.mx_Dialog_buttons {
$spacingStart: $spacing-24; // 16px icon + 8px padding
$spacingStart: $spacing-24; /* 16px icon + 8px padding */
text-align: initial;
display: flex;
flex-flow: column;
gap: 14px; // TODO: spacing variable
gap: 14px; /* TODO: spacing variable */
.mx_Dialog_buttons_additive {
float: none;
@@ -125,7 +125,7 @@ limitations under the License.
height: 16px;
width: 16px;
left: 0;
top: 2px; // alignment
top: 2px; /* alignment */
background-image: url("$(res)/img/element-icons/warning-badge.svg");
background-size: contain;
}
@@ -137,7 +137,7 @@ limitations under the License.
}
.mx_Dialog_buttons_row {
gap: $spacing-16; // TODO: needs normalization
gap: $spacing-16; /* TODO: needs normalization */
padding-inline-start: $spacingStart;
}
}