Increase specificity of compact layout selectors

pull/21833/head
Jorik Schellekens 2020-06-01 15:23:34 +01:00
parent 419857c29c
commit b48818bb46
1 changed files with 54 additions and 54 deletions

View File

@ -55,7 +55,6 @@ $left-gutter: 65px;
.mx_MatrixChat_useCompactLayout {
.mx_EventTile {
padding-top: 4px;
}
.mx_EventTile.mx_EventTile_info {
// same as the padding for non-compact .mx_EventTile.mx_EventTile_info
@ -119,13 +118,14 @@ $left-gutter: 65px;
top: 4px;
}
.mx_RoomView_MessageList h2 {
margin-top: 6px;
}
.mx_EventTile_content .markdown-body {
p, ul, ol, dl, blockquote, pre, table {
margin-bottom: 4px; // 1/4 of the non-compact margin-bottom
}
}
}
.mx_RoomView_MessageList h2 {
margin-top: 6px;
}
}