Skip to content

Build your personal knowledge base with Trilium Notes

style(backend-log): remove extra padding & decrease font size

Elian Doranba7969dad447
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css
index 788cda8c02..cb286317de 100644
--- a/apps/client/src/stylesheets/style.css
+++ b/apps/client/src/stylesheets/style.css
@@ -629,6 +629,7 @@ pre:not(.hljs) {
pre:has(> .cm-editor) {
padding: 0;
+ margin: 0;
}
pre > button.copy-button {
diff --git a/apps/client/src/widgets/type_widgets/code/code.css b/apps/client/src/widgets/type_widgets/code/code.css
index 1a4eea588c..db5a9d2e8b 100644
--- a/apps/client/src/widgets/type_widgets/code/code.css
+++ b/apps/client/src/widgets/type_widgets/code/code.css
@@ -23,13 +23,9 @@
height: 100%;
display: flex;
flex-direction: column;
-}
-.backend-log-editor {
- flex-grow: 1;
- width: 100%;
- border: none;
- resize: none;
- margin-bottom: 0;
+ .cm-editor {
+ font-size: 0.85em;
+ }
}
-/* #endregion */
\ No newline at end of file
+/* #endregion */