fix: align styles and headings to libreoffice
This commit is contained in:
1 parent
f4973caade
commit
d461ce09a6
12 files changed
+197
-49
No files matched your search
@@ -384,15 +384,19 @@
|
||||
.paper .tiptap h3,
|
||||
.paper .tiptap h4,
|
||||
.paper .tiptap h5 {
|
||||
/* LibreOffice's Heading style: sans, bold, one margin pair for every level.
|
||||
Keep the sizes below in sync with HEADING_STYLE_OVERRIDES
|
||||
(tests/unit/font-size-display.test.ts checks it). */
|
||||
font-family: var(--font-heading);
|
||||
font-weight: 700;
|
||||
line-height: 1.15;
|
||||
margin-top: 1.5em;
|
||||
margin-bottom: 0.5em;
|
||||
margin-top: 0.423cm;
|
||||
margin-bottom: 0.212cm;
|
||||
}
|
||||
|
||||
|
||||
.paper .tiptap h1 {
|
||||
font-size: 20pt;
|
||||
font-size: 18pt;
|
||||
}
|
||||
|
||||
.paper .tiptap h2 {
|
||||
@@ -404,11 +408,11 @@
|
||||
}
|
||||
|
||||
.paper .tiptap h4 {
|
||||
font-size: 12pt;
|
||||
font-size: 13pt;
|
||||
}
|
||||
|
||||
.paper .tiptap h5 {
|
||||
font-size: 11pt;
|
||||
font-size: 12pt;
|
||||
}
|
||||
|
||||
.paper .tiptap ul,
|
||||
|
||||
Reference in new issue
Block a user