Skip to content

Build your personal knowledge base with Trilium Notes

style(next): improve inline code slightly

Elian Dorana1a2fd717b34
diff --git a/src/public/stylesheets/theme-next.css b/src/public/stylesheets/theme-next.css
index 9d925db160..2fd92ab921 100644
--- a/src/public/stylesheets/theme-next.css
+++ b/src/public/stylesheets/theme-next.css
@@ -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;