Skip to content

Build your personal knowledge base with Trilium Notes

feat(collection/presentation): support CK editor size

Elian Doran04eeb28c0970
diff --git a/apps/client/src/widgets/collections/presentation/slidejs.css b/apps/client/src/widgets/collections/presentation/slidejs.css
index bf798c1865..c3e9735bea 100644
--- a/apps/client/src/widgets/collections/presentation/slidejs.css
+++ b/apps/client/src/widgets/collections/presentation/slidejs.css
@@ -5,4 +5,16 @@ figure img {
span.katex-html {
display: none !important;
-}
\ No newline at end of file
+}
+
+p:has(span.text-tiny),
+p:has(span.text-small),
+p:has(span.text-big),
+p:has(span.text-huge) {
+ line-height: unset !important;
+}
+
+span.text-tiny { font-size: 0.5em; }
+span.text-small { font-size: 0.75em; }
+span.text-big { font-size: 1.5em; }
+span.text-huge { font-size: 2em; }
\ No newline at end of file