mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 10:22:29 +08:00
Customize the scrollbar in code boxes for WebKit-based browsers
This commit is contained in:
parent
2f4ed92346
commit
b9ebc66122
@ -835,6 +835,20 @@ html .note-detail-editable-text :not(figure, .include-note):first-child {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.ck-content pre code::-webkit-scrollbar {
|
||||
height: 6px;
|
||||
}
|
||||
|
||||
.ck-content pre code::-webkit-scrollbar-thumb {
|
||||
height: 4px;
|
||||
border: none !important;
|
||||
background: gray !important;
|
||||
}
|
||||
|
||||
.ck-content pre code::-webkit-scrollbar-track, ::-webkit-scrollbar-thumb {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.note-detail-printable:not(.word-wrap) pre {
|
||||
white-space: pre;
|
||||
margin-right: 1em;
|
||||
|
Loading…
x
Reference in New Issue
Block a user