Steps to replicate the issue (include links if applicable):
(Bug experienced on the Danish Wikipedia โ I have not tested it elsewhere)
- Enable the "Realtime preview" beta feature.
- Enable Vector (2022) as your theme.
- Edit any page (I've tested this in article space and the Wikipedia-namespace).
- Enable the live preview.
What happens?:
The live preview renders the article with a font size roughly 125-150% larger than the article font actually is when reading it normally, or when using the live preview feature on the Vector (2010) theme.
An example can be seen at this link: https://imgur.com/a/8OQ2dcg. The top text is how the article text is rendered using the normal preview feature, and is also how the text appears when using the live preview in conjunction with the Vector (2010) theme. The text on the left is the wikitext window, and the text on the right is the live preview as it appears on the Vector (2022) theme, where the text is noticeably bigger than it should be. Compare https://imgur.com/a/rI99tG4, which was taken using Vector (2010). Here the text size is the same between the old school preview and the live preview.
What should have happened instead?:
The live preview should be rendered the same way as it appears when using Vector (2010), as this is a true preview of how the article will look when saved, and presumably also the intended outcome.
Software version (skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
I'm using Firefox 106.0.3 (64-bit)
Screenshots are linked above
(Reuploaded here)
(8OQ2dcg) (rI99tG4)