Skip to content
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

Enlarge small markdown text size - trivial change #134550

Merged
merged 3 commits into from
Oct 8, 2021

Conversation

greazer
Copy link
Member

@greazer greazer commented Oct 7, 2021

This PR partially and trivially addresses #126294. It's a simple modification of default markdown font sizes for h1, h2, h3, and p, as there have been many complaints about the small size of regular text (p) elements.

On Windows, these changes result in very similar sizing for affected elements as is displayed in Jupyter. Not sure how these changes perform on Mac/Linux yet.

@greazer greazer requested a review from mjbvz October 7, 2021 06:58
margin: 0;
margin-bottom: 10px;
margin-bottom: 2px;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the margins be rem size too?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe? Though I wasn't sure that the prior px definitions weren't done on purpose by @mjbvz for some reason I'm not aware of. Since I don't consider myself an expert in these matters.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better to use em here IMO. That way the size of the header is based on the font size in the current context instead of the root document

@greazer greazer requested review from rchiodo and mjbvz October 8, 2021 04:13
@mjbvz mjbvz added this to the October 2021 milestone Oct 8, 2021
@mjbvz mjbvz merged commit 845af8a into main Oct 8, 2021
@mjbvz mjbvz deleted the dev/greazer/cell-markdown-font-tweaks branch October 8, 2021 19:29
@mjbvz
Copy link
Collaborator

mjbvz commented Oct 8, 2021

Thanks! Let's see what this looks like in insiders

@github-actions github-actions bot locked and limited conversation to collaborators Nov 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants