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>
This commit is contained in:
parent
f148844573
commit
7d033e1c0e
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue