Skip to content

Build your personal knowledge base with Trilium Notes

chore(client): address requested changes

Elian Doranf89f0bce067e
diff --git a/apps/client/src/widgets/type_widgets/code/Markdown.css b/apps/client/src/widgets/type_widgets/code/Markdown.css
index 304f448f19..a4a683e485 100644
--- a/apps/client/src/widgets/type_widgets/code/Markdown.css
+++ b/apps/client/src/widgets/type_widgets/code/Markdown.css
@@ -13,14 +13,6 @@
overflow: auto;
padding: 0.5em 1em;
user-select: text;
-
- table {
- margin: 1em 0;
- }
-
- figure table {
- margin: 0;
- }
}
.markdown-preview [data-source-line] {
diff --git a/apps/client/src/widgets/type_widgets/code/MarkdownCommons.css b/apps/client/src/widgets/type_widgets/code/MarkdownCommons.css
index af1d53e23e..738bad68d6 100644
--- a/apps/client/src/widgets/type_widgets/code/MarkdownCommons.css
+++ b/apps/client/src/widgets/type_widgets/code/MarkdownCommons.css
@@ -18,4 +18,8 @@
font-weight: 600;
}
}
+
+ figure table {
+ margin: 0;
+ }
}