style(next): improve inline code slightly

This commit is contained in:
Elian Doran 2024-12-02 23:06:41 +02:00
parent 415ba7c260
commit a1a2fd717b
No known key found for this signature in database

View File

@ -1153,6 +1153,13 @@ html .note-detail-editable-text :not(figure, .include-note, hr):first-child {
opacity: 1;
}
.ck-content p code {
border: 1px solid var(--card-border-color);
box-shadow: var(--card-box-shadow);
border-radius: 6px;
background-color: var(--card-background-color);
}
.note-detail-printable:not(.word-wrap) pre code {
white-space: pre;
margin-right: 1em;