Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

Improve katex style

Smaug67392efc1806642f
diff --git a/frontend/styles/katex.scss b/frontend/styles/katex.scss
index 14100253..9fb30f9b 100644
--- a/frontend/styles/katex.scss
+++ b/frontend/styles/katex.scss
@@ -4,8 +4,9 @@
//overflow: hidden;
overflow: auto hidden;
padding: 2.5px;
+
i {
- max-width:100%;
+ max-width: 100%;
}
}
@@ -13,9 +14,17 @@
margin: 0 !important;
//text-align: left;
}
+
@media screen and (min-width:1000px) {
- .katex-display > .katex {
- text-align: left !important;
- white-space: wrap !important;
+ .katex-display>.katex {
+ text-align: left !important;
+ white-space: wrap !important;
}
}
+
+.katex {
+ .text {
+ font-family: 'Poppins';
+ font-size: 16px;
+ }
+}
\ No newline at end of file