Bring back dark theme code block border

This fixes https://github.com/vector-im/riot-web/issues/5013 and https://github.com/vector-im/riot-web/issues/4416 by only showing the border when the code block is hovered, and that the border is actually visible. The !important is needed to override the default border behaviour.

Signed-off-by: Travis Ralston <travpc@gmail.com>
pull/5037/head
Travis Ralston 2017-09-14 10:03:53 -06:00
parent f148844573
commit 7d033e1c0e
1 changed files with 3 additions and 0 deletions

View File

@ -131,6 +131,9 @@ $progressbar-color: #000;
}
// markdown overrides:
.mx_EventTile_content .markdown-body pre:hover {
border-color: #808080 !important; // inverted due to rules below
}
.mx_EventTile_content .markdown-body {
pre, code {
filter: invert(1);