From a1a2fd717b34c30dfb0110ac0db99691e3c3540e Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Mon, 2 Dec 2024 23:06:41 +0200 Subject: [PATCH] style(next): improve inline code slightly --- src/public/stylesheets/theme-next.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/public/stylesheets/theme-next.css b/src/public/stylesheets/theme-next.css index 9d925db16..2fd92ab92 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;