Font size
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 201
- Avg merge
- 12m
- Merged PRs (30d)
- 1
Description
I'm developing app with Next.js and want to make font size inside markdown editor bigger. I added styles to globals.css
.w-md-editor-text-pre > code,
.w-md-editor-text-input {
font-size: 2rem !important;
line-height: 2.5rem !important;
}
Imported globals.css to page where I have MDEditor
And I have an issue, the size of font doesn't change although, if I select text, selected text is the size I set in styles
In browser's console I can see that styles are applied
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in a Next.js app using the globals.css rules and an MDEditor instance. Inspect the editor's rendered text and input elements, comparing normal and selected text sizes; done means the configured font size is visibly applied consistently while editing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, next.js, react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100