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

Fixed issue for text too small for pages #227

Merged
merged 3 commits into from
Apr 1, 2020

Conversation

jyotiattri
Copy link
Contributor

@jyotiattri jyotiattri commented Mar 17, 2020

This adds a fix for Text too small to read (21 pages) from Mobile usability issues reported in Google search console

cc: @zregvart

@jyotiattri
Copy link
Contributor Author

Hi, @zregvart
Please let me know is there something to do in this PR.

Copy link
Member

@zregvart zregvart left a comment

Choose a reason for hiding this comment

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

I don't think this is a good approach, it is very complex way of deriving a font size and it introduces additional media breakpoints that will make it difficult for us to maintain the CSS in the future.
All the font sizes are calculated from --rem-base and root --doc-font-size--desktop vs --doc-font-size. To get the font slightly larger for code perhaps the ratio can be changed on line 135 and 140.

@zregvart
Copy link
Member

@jyotiattri can you take the review into consideration, are you still working on this?

@jyotiattri
Copy link
Contributor Author

Yes, I am working on the suggested changes.

Copy link
Member

@zregvart zregvart left a comment

Choose a reason for hiding this comment

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

Needs to be rebased.

@zregvart zregvart merged commit 812e3d2 into apache:master Apr 1, 2020
@zregvart
Copy link
Member

zregvart commented Apr 1, 2020

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants