Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit a87e637

Browse files
authored
Merge pull request #5630 from SimonBrandner/tweak-codeblock-colors
Fix codeblock scrollbar colors
2 parents da6f1e5 + 4aa3000 commit a87e637

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

res/css/views/rooms/_EventTile.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ $left-gutter: 64px;
532532
visibility: hidden;
533533
cursor: pointer;
534534
top: 6px;
535-
right: 6px;
535+
right: 12px;
536536
width: 19px;
537537
height: 19px;
538538
background-color: $message-action-bar-fg-color;

res/themes/dark/css/_dark.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ $composer-shadow-color: rgba(0, 0, 0, 0.28);
258258
// markdown overrides:
259259
.mx_EventTile_content .markdown-body pre:hover {
260260
border-color: #808080 !important; // inverted due to rules below
261+
scrollbar-color: rgba(0, 0, 0, 0.2) transparent; // copied from light theme due to inversion below
261262
}
262263
.mx_EventTile_content .markdown-body {
263264
pre, code {

0 commit comments

Comments
 (0)