Skip to content

Added postcss-viewport-height-correction#1323

Merged
ai merged 4 commits intopostcss:masterfrom
Faisal-Manzer:patch-1
Feb 8, 2020
Merged

Added postcss-viewport-height-correction#1323
ai merged 4 commits intopostcss:masterfrom
Faisal-Manzer:patch-1

Conversation

@Faisal-Manzer
Copy link
Copy Markdown
Contributor

postcss-viewport-height-correction solves the popular problem when 100vh doesn’t fit the mobile browser screen.

postcss-viewport-height-correction solves the popular problem when 100vh doesn’t fit the mobile browser screen.
docs/plugins.md Outdated
* [`postcss-autocorrect`] corrects typos and notifies in the console.
* [`postcss-px-to-viewport`] generates viewport units (`vw`, `vh`, `vmin`, `vmax`) from `px` units.

* [`postcss-viewport-height-correction`] solves the popular problem when 100vh doesn’t fit the mobile browser screen.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

  1. 100vh should be as a code:
`100vh`
  1. You need to keep lines in 80 symbols long.

Copy link
Copy Markdown
Contributor Author

@Faisal-Manzer Faisal-Manzer Feb 5, 2020

Choose a reason for hiding this comment

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

Corrected docs according to the recommendation

docs/plugins.md Outdated
* [`postcss-autocorrect`] corrects typos and notifies in the console.
* [`postcss-px-to-viewport`] generates viewport units (`vw`, `vh`, `vmin`, `vmax`) from `px` units.

* [`postcss-viewport-height-correction`] "corrects" `100vh` which doesn’t fit the mobile browser screen.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Let’s avoid quoted "corrects". User will not understand why it is not normal correct. You can use old description, just split it into two lines.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Does splitting mean? In markdown file or in markdown preview?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

A B
A
B

@Faisal-Manzer Faisal-Manzer requested a review from ai February 8, 2020 04:25
@ai ai merged commit ee267d5 into postcss:master Feb 8, 2020
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.

2 participants