Fix selectors

pull/21833/head
Jorik Schellekens 2020-06-01 16:45:19 +01:00
parent 03c6813425
commit 85978426c9
1 changed files with 8 additions and 8 deletions

View File

@ -53,6 +53,11 @@ $left-gutter: 65px;
/* Compact layout overrides */
.mx_MatrixChat_useCompactLayout {
.mx_EventTile_line, .mx_EventTile_reply {
padding-top: 0px;
padding-bottom: 0px;
}
.mx_EventTile {
padding-top: 4px;
@ -68,11 +73,11 @@ $left-gutter: 65px;
}
}
.mx_EventTile .mx_SenderProfile {
.mx_SenderProfile {
font-size: $font-13px;
}
.mx_EventTile.mx_EventTile_emote {
&.mx_EventTile_emote {
// add a bit more space for emotes so that avatars don't collide
padding-top: 8px;
.mx_EventTile_avatar {
@ -84,7 +89,7 @@ $left-gutter: 65px;
}
}
.mx_EventTile.mx_EventTile_emote.mx_EventTile_continuation {
&.mx_EventTile_emote.mx_EventTile_continuation {
padding-top: 0;
.mx_EventTile_line, .mx_EventTile_reply {
padding-top: 0px;
@ -92,11 +97,6 @@ $left-gutter: 65px;
}
}
.mx_EventTile_line, .mx_EventTile_reply {
padding-top: 0px;
padding-bottom: 0px;
}
.mx_EventTile_avatar {
top: 2px;
}