mirror of
https://github.com/zadam/trilium.git
synced 2026-05-06 16:45:53 +02:00
feat(print): respect user's detail font when printing
This commit is contained in:
@@ -99,12 +99,15 @@ To do so:
|
||||
For example, to change the font of the document from the one defined by the theme or the user to a serif one:
|
||||
|
||||
```
|
||||
:root {
|
||||
body {
|
||||
--print-font-family: serif;
|
||||
--print-font-size: 11pt;
|
||||
}
|
||||
```
|
||||
|
||||
> [!IMPORTANT]
|
||||
> When altering `--print-font-family`, make sure the change is done at `body` level and not `:root`, since otherwise it won't be picked up due to specificity rules.
|
||||
|
||||
To remark:
|
||||
|
||||
* Multiple CSS notes can be add by using multiple `~printCss` relations.
|
||||
|
||||
Reference in New Issue
Block a user