-
Notifications
You must be signed in to change notification settings - Fork 29.2k
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
In markdown.preview
, CSS's 1em
does not correspond to .fontSize
.
#219520
Comments
When you set You should exclude |
@mjbvz, that's exactly what I'm confused by - each |
Try debugging the page with the dev tools. |
@mjbvz, when no font size is configured, I would expect the browser to fall back to |
No we use a style sheet just like a normal webpage |
@mjbvz, do you know where your style sheet is specified? If I can modify the values in it, that'll give me a better picture as to what the embedded browser defaults to. |
code-insiders-1.91.0-1719555839.el8.rpm
cpe:/o:fedoraproject:fedora:40
Steps to Reproduce
I've set
markdown.preview.fontSize
to 13 px:Yet, I noticed when setting
:not(h1) {font-size: 1em;}
:...that this set the font size much too large.
13px
renders it as I expect, so why isn't1em
set to themarkdown.preview.fontSize
, as it should be?The text was updated successfully, but these errors were encountered: