Merge pull request #5630 from SimonBrandner/tweak-codeblock-colors
Fix codeblock scrollbar colors
This commit is contained in:
@@ -532,7 +532,7 @@ $left-gutter: 64px;
|
|||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
top: 6px;
|
top: 6px;
|
||||||
right: 6px;
|
right: 12px;
|
||||||
width: 19px;
|
width: 19px;
|
||||||
height: 19px;
|
height: 19px;
|
||||||
background-color: $message-action-bar-fg-color;
|
background-color: $message-action-bar-fg-color;
|
||||||
|
|||||||
@@ -258,6 +258,7 @@ $composer-shadow-color: rgba(0, 0, 0, 0.28);
|
|||||||
// markdown overrides:
|
// markdown overrides:
|
||||||
.mx_EventTile_content .markdown-body pre:hover {
|
.mx_EventTile_content .markdown-body pre:hover {
|
||||||
border-color: #808080 !important; // inverted due to rules below
|
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 {
|
.mx_EventTile_content .markdown-body {
|
||||||
pre, code {
|
pre, code {
|
||||||
|
|||||||
Reference in New Issue
Block a user