mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-11 02:42:27 +08:00
Prevent the language badge to be scrolled in code boxes
This commit is contained in:
parent
d3d001d8ea
commit
2f4ed92346
@ -813,6 +813,7 @@ a.external:not(.no-arrow):after, a[href^="http://"]:not(.no-arrow):after, a[href
|
|||||||
box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1), 0px 0px 2px rgba(0, 0, 0, 0.2);
|
box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1), 0px 0px 2px rgba(0, 0, 0, 0.2);
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
margin-top: 2px !important;
|
margin-top: 2px !important;
|
||||||
|
overflow: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
html .note-detail-editable-text :not(figure, .include-note):first-child {
|
html .note-detail-editable-text :not(figure, .include-note):first-child {
|
||||||
@ -828,10 +829,10 @@ html .note-detail-editable-text :not(figure, .include-note):first-child {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.ck-content pre code {
|
.ck-content pre code {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.note-detail-printable:not(.word-wrap) pre {
|
.note-detail-printable:not(.word-wrap) pre {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user