Opened 7 weeks ago
Last modified 7 weeks ago
#61770 new defect (bug)
Twenty Nineteen: Preformatted block font size is not same in editor
Reported by: | viralsampat | Owned by: | |
---|---|---|---|
Milestone: | Future Release | Priority: | normal |
Severity: | normal | Version: | 6.6.1 |
Component: | Bundled Theme | Keywords: | needs-patch |
Focuses: | css | Cc: |
Description
Hello,
I have reviewed the "Preformatted block" and found that its font-size is not same in editor & front-end sides. I have checked this twenty-nineteen theme.
I think that it should be same on both editor & front-end sides.
Also, I have found same issue for other themes and posted it. #60993
Here, I have attached its screenshots.
Environment info:
- WordPress version: WordPress 6.6.1 running,
- Themes: Twenty Nineteen Version: 2.9
- Browser: Google Chrome, Version 126.0.6478.183 (Official Build) (arm64)
- Device: MacBook Air M1
- OS: macOS 14.5 (23F79)
- Gutenberg plugin: Version Version 18.8.0
Thanks,
Attachments (7)
Change History (11)
#1
@
7 weeks ago
- Component changed from General to Bundled Theme
- Summary changed from The Preformatted block font size is not same on editor & front-end side for twenty nineteen theme. to Twenty Nineteen: Preformatted block font size is not same in editor
#3
@
7 weeks ago
- Keywords needs-patch added
I can confirm that this is the case in Twenty Nineteen. It is 22px in the editor but uses em on the front end. I would like to see a solution similar to the one I recommended in the other ticket of unifying using 1em or no declaration.
Note: See
TracTickets for help on using
tickets.
Back-end