-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Font size of editor and preview should be the same #23816
Comments
PR welcome to adjust those font sizes. Long-Term we well move away from the WYSIWYG editor to a plain textarea. |
Don't see this as blocking for 1.19.1. |
Default editor is now textarea with #23876, so this is obsolete. |
…own (#24151) Fix #23816 According to my personal experience, the EasyMDE is still useful when writing a lot of contents, eg: the wiki page. It's not difficult to improve its heading styles, so let's make it. Before: <img width="815" alt="image" src="https://user-images.githubusercontent.com/2114189/232280943-9177f0bc-e380-426f-8588-20ff8d8e5293.png"> After: <img width="538" alt="image" src="https://user-images.githubusercontent.com/2114189/232280903-e8c476ee-f5b1-48fe-8a93-86fcd79680c3.png">
…own (#24151) (#24152) Backport #24151 Fix #23816 <img width="519" alt="image" src="https://user-images.githubusercontent.com/2114189/232283304-21f56e82-d80e-4199-9b14-74699d80cd20.png">
I proposed 2 small PRs:
You can get the latest nightly build from https://dl.gitea.com/gitea/1.19/ or https://dl.gitea.com/gitea/main/ (for 1.20), or use latest docker image |
Description
Hi guys, first of all thanks for your work!
This is not really a bug, but it's been bothering me for a while. I think in the editor the font size for headings is overly large. I think nowhere in the entire Gitea UI are fonts used that large, and it would be nice if the font size in the editor and preview were identical.
Screenshots
The preview looks good, but uses completely different font sizes
Gitea Version
1.18, 1.19
Can you reproduce the bug on the Gitea demo site?
Yes
Operating System
Arch Linux
Browser Version
Firefox 111 / Chrome 111
The text was updated successfully, but these errors were encountered: