Skip to content

Build your personal knowledge base with Trilium Notes

Add a background color transition for the code sample

Adorian Doranf13d88c3c050
diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css
index b0dcd70ed1..f6aa178928 100644
--- a/src/public/stylesheets/style.css
+++ b/src/public/stylesheets/style.css
@@ -854,6 +854,10 @@ html .note-detail-editable-text :not(figure, .include-note):first-child {
margin-right: 1em;
}
+.code-sample-wrapper .hljs {
+ transition: background-color linear 100ms;
+}
+
.side-checkbox {
display: flex;
align-items: end;