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 latex themes margins

Smaug6739b79cd11214cd
diff --git a/frontend/app/styles/document-theme.scss b/frontend/app/styles/document-theme.scss
index 46d009a3..6b15f643 100644
--- a/frontend/app/styles/document-theme.scss
+++ b/frontend/app/styles/document-theme.scss
@@ -20,17 +20,22 @@
.latex-theme {
max-width: 100%;
font-family: "Latin Modern Roman", serif;
- font-size: 18px;
+ font-size: 17px;
h1 {
font-size: 1.5em;
}
h2 {
- margin: 1em 0;
+ margin: 0.5rem 0;
font-size: 1.3em;
}
+ h3 {
+ margin: 0.5rem 0;
+ font-size: 1.1em;
+ }
+
p {
width: 100%;
padding: 0.5em 0;
@@ -111,17 +116,22 @@
.latex-colored-theme {
max-width: 100%;
font-family: "Latin Modern Roman", serif;
- font-size: 18px;
+ font-size: 17px;
h1 {
font-size: 1.5em;
}
h2 {
- margin: 1em 0;
+ margin: 0.5rem 0;
font-size: 1.3em;
}
+ h3 {
+ margin: 0.5rem 0;
+ font-size: 1.1em;
+ }
+
p {
width: 100%;
padding: 0.5em 0;