Setting global font size & styles
See original GitHub issueThe docs & example show how to set individual tag styles with the tagsStyles
prop. Is there a way to set a global font size (as well as other styles) without having to specify individual tags? I’d like to scale the entire HTML block responsively and a global size would help.
For example, given the HTML block with no explicit sizing:
<h2>Some heading</h2>
<p>First paragraph</p>
<p>Second paragraph</p>
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
How to Apply global font to whole HTML document
I want to make it have the same font-family and the same text-size ignoring all inner formatting of text. I want to set...
Read more >How to Apply Global Font to the Entire HTML Document
In this snippet, we're going to apply a global font format to the whole HTML page. ... Set the font-size, font-family, line-height, and...
Read more >font-size - CSS: Cascading Style Sheets - MDN Web Docs
The font-size CSS property sets the size of the font. Changing the font size also updates the sizes of the font size-relative <length>...
Read more >How to Change the Font Globally in WordPress
To change the font globally in your WordPress site, you can edit the style for your site. This tutorial will show you how....
Read more >Change the font size - Microsoft Support
Click the Manage Styles button (third from left at the bottom). ... Click the Set Defaults tab and pick the size you want...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Great 😄
I shipped this in
3.2.0
.Dev branch works great! Thanks for fixing the line breaks and related issues, and apologies for overlooking the linting. Also appreciate how quickly you merged and refined the code.