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

Polish error page styling #50916

Merged
merged 1 commit into from
Jun 7, 2023
Merged

Polish error page styling #50916

merged 1 commit into from
Jun 7, 2023

Conversation

huozhi
Copy link
Member

@huozhi huozhi commented Jun 7, 2023

Polish default client error page styling:

  • shrink the line-height to 2em for better mobile display
  • remove text-align: left to let the text center properly

After vs Before

(both app router and pages default client error page)

image image

After

(both app router and pages default client error page)

Closes NEXT-1262

fix status mobile

fix 404 text align
@kodiakhq kodiakhq bot merged commit 8eb1428 into canary Jun 7, 2023
@kodiakhq kodiakhq bot deleted the polish-mobile-styles branch June 7, 2023 17:54
hydRAnger pushed a commit to hydRAnger/next.js that referenced this pull request Jun 12, 2023
Polish default client error page styling:

* shrink the `line-height` to `2em` for better mobile display
* remove `text-align: left` to let the text center properly

#### After vs Before
(both **app router** and **pages** default client error page)
<p>
<img width="300" alt="image" src="https://github.com/vercel/next.js/assets/4800338/de7260af-7046-4783-8f82-8ac5f39f25b7">
<img width="300" alt="image" src="https://github.com/vercel/next.js/assets/4800338/f4207809-f11f-448d-95ec-0a32b54f3562">
</p>


#### After
(both **app router** and **pages** default client error page)


Closes NEXT-1263
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants