Disallow invalid inline style comments in stylesheets (#9099)
This commit is contained in:
parent
8eeeee1aa2
commit
72c24af5c0
193 changed files with 1520 additions and 1518 deletions
|
@ -26,7 +26,7 @@ $irc-line-height: $font-18px;
|
|||
.mx_EventTile {
|
||||
--EventTile_irc_line-padding-block: 1px;
|
||||
|
||||
// timestamps are links which shouldn't be underlined
|
||||
/* timestamps are links which shouldn't be underlined */
|
||||
> a {
|
||||
text-decoration: none;
|
||||
min-width: $MessageTimestamp_width;
|
||||
|
@ -64,7 +64,7 @@ $irc-line-height: $font-18px;
|
|||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
// Need to use important to override the js provided height and width values.
|
||||
/* Need to use important to override the js provided height and width values. */
|
||||
> .mx_BaseAvatar, > .mx_BaseAvatar > * {
|
||||
height: $font-14px !important;
|
||||
width: $font-14px !important;
|
||||
|
@ -75,7 +75,7 @@ $irc-line-height: $font-18px;
|
|||
|
||||
.mx_DisambiguatedProfile {
|
||||
width: var(--name-width);
|
||||
margin-inline-end: 0; // override mx_EventTile > *
|
||||
margin-inline-end: 0; /* override mx_EventTile > * */
|
||||
order: 2;
|
||||
flex-shrink: 0;
|
||||
|
||||
|
@ -88,7 +88,7 @@ $irc-line-height: $font-18px;
|
|||
|
||||
> .mx_DisambiguatedProfile_mxid {
|
||||
visibility: collapse;
|
||||
// Override the inherited margin.
|
||||
/* Override the inherited margin. */
|
||||
margin-left: 0;
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
@ -130,13 +130,14 @@ $irc-line-height: $font-18px;
|
|||
.mx_ViewSourceEvent,
|
||||
.mx_MTextBody {
|
||||
display: inline-block;
|
||||
// add a 1px padding top and bottom because our larger emoji font otherwise gets cropped by anti-zalgo
|
||||
/* add a 1px padding top and bottom because our larger
|
||||
emoji font otherwise gets cropped by anti-zalgo */
|
||||
padding: var(--EventTile_irc_line-padding-block) 0;
|
||||
}
|
||||
|
||||
.mx_ReplyTile {
|
||||
.mx_MTextBody {
|
||||
display: -webkit-box; // Enable -webkit-line-clamp
|
||||
display: -webkit-box; /* Enable -webkit-line-clamp */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -161,13 +162,13 @@ $irc-line-height: $font-18px;
|
|||
}
|
||||
|
||||
.mx_EventTile.mx_EventTile_info {
|
||||
.mx_ViewSourceEvent, // For hidden events
|
||||
.mx_ViewSourceEvent, /* For hidden events */
|
||||
.mx_TextualEvent {
|
||||
line-height: $irc-line-height;
|
||||
}
|
||||
}
|
||||
|
||||
// Suppress highlight thing from the normal Layout.
|
||||
/* Suppress highlight thing from the normal Layout. */
|
||||
.mx_EventTile:hover.mx_EventTile_verified .mx_EventTile_line,
|
||||
.mx_EventTile:hover.mx_EventTile_unverified .mx_EventTile_line,
|
||||
.mx_EventTile:hover.mx_EventTile_unknown .mx_EventTile_line {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue