Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Bug report) --monospace-font-size css variable doesn't change font size in code editor #2296

Closed
1 task done
Lightirius opened this issue Oct 31, 2021 · 1 comment
Closed
1 task done

Comments

@Lightirius
Copy link

Preflight Checklist

  • I have searched the issue tracker for a bug report that matches the one I want to file, without success.

Trilium Version

0.48.4

What operating system are you using?

Windows

What is your setup?

Local (no sync)

Operating System Version

Windows 11 Pro 21H2

Expected Behavior

--monospace-font-size should apply to the font size of code notes

Actual Behavior

--monospace-font-size doesn't apply to code notes

Additional Information

I am not shure this is a bug or expected behaviour, but it doesn't look logical for me

Can be fixed in custom theme with this css:

body .CodeMirror {
    font-size: var(--monospace-font-size)
}
@Lightirius Lightirius changed the title (Feature request) --monospace-font-size css variable doesn't change font size in code editor (Bug report) --monospace-font-size css variable doesn't change font size in code editor Oct 31, 2021
@zadam zadam closed this as completed in e4dca47 Oct 31, 2021
@zadam
Copy link
Owner

zadam commented Oct 31, 2021

Hi, thanks for reporting this bug, fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants