Skip to content

Commit 7d033e1

Browse files
committed
Bring back dark theme code block border
This fixes element-hq#5013 and element-hq#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>
1 parent f148844 commit 7d033e1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎src/skins/vector/css/themes/_dark.scss‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ $progressbar-color: #000;
131131
}
132132

133133
// markdown overrides:
134+
.mx_EventTile_content .markdown-body pre:hover {
135+
border-color: #808080 !important; // inverted due to rules below
136+
}
134137
.mx_EventTile_content .markdown-body {
135138
pre, code {
136139
filter: invert(1);

0 commit comments

Comments
 (0)