Merge pull request #5630 from SimonBrandner/tweak-codeblock-colors

Fix codeblock scrollbar colors
This commit is contained in:
J. Ryan Stinnett 2021-02-11 12:41:12 +00:00 committed by GitHub
commit a87e637666
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -532,7 +532,7 @@ $left-gutter: 64px;
visibility: hidden;
cursor: pointer;
top: 6px;
right: 6px;
right: 12px;
width: 19px;
height: 19px;
background-color: $message-action-bar-fg-color;

View file

@ -258,6 +258,7 @@ $composer-shadow-color: rgba(0, 0, 0, 0.28);
// markdown overrides:
.mx_EventTile_content .markdown-body pre:hover {
border-color: #808080 !important; // inverted due to rules below
scrollbar-color: rgba(0, 0, 0, 0.2) transparent; // copied from light theme due to inversion below
}
.mx_EventTile_content .markdown-body {
pre, code {