forked from matrix/element-web
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
|
@ -131,6 +131,9 @@ $progressbar-color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
// markdown overrides:
|
// markdown overrides:
|
||||||
|
.mx_EventTile_content .markdown-body pre:hover {
|
||||||
|
border-color: #808080 !important; // inverted due to rules below
|
||||||
|
}
|
||||||
.mx_EventTile_content .markdown-body {
|
.mx_EventTile_content .markdown-body {
|
||||||
pre, code {
|
pre, code {
|
||||||
filter: invert(1);
|
filter: invert(1);
|
||||||
|
|
Loading…
Reference in New Issue