Disallow invalid inline style comments in stylesheets (#22930)

This commit is contained in:
Germain 2022-07-27 14:39:22 +01:00 committed by GitHub
parent d6d02631ab
commit 03cce754d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 72 deletions

View file

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
// TODO: Match the user's theme: https://github.com/vector-im/element-web/issues/12794
/* TODO: Match the user's theme: https://github.com/vector-im/element-web/issues/12794 */
@font-face {
font-family: 'Nunito';
@ -57,8 +57,8 @@ body, html {
height: 100%;
width: 100%;
// Hidden by default to avoid flashing the prejoin screen at the user when
// we're supposed to skip it anyways
/* Hidden by default to avoid flashing the prejoin screen at the user when */
/* we're supposed to skip it anyways */
visibility: hidden;
}
@ -75,7 +75,7 @@ body, html {
}
#joinButton {
// A mix of AccessibleButton styles
/* A mix of AccessibleButton styles */
cursor: pointer;
padding: 7px 18px;
text-align: center;
@ -89,7 +89,7 @@ body, html {
.icon {
$icon-size: 42px;
margin-top: -$icon-size; // to visually center the form
margin-top: -$icon-size; /* to visually center the form */
&::before {
content: '';
@ -102,7 +102,7 @@ body, html {
display: block;
width: $icon-size;
height: $icon-size;
margin: 0 auto; // center
margin: 0 auto; /* center */
}
}