blitz-js / blitz

⚡️ The Missing Fullstack Toolkit for Next.js

Home Page:https://Blitzjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feat: make error component styling easier

Vandivier opened this issue · comments

as a developer, I'd like to more easily configure the ErrorComponent style, so that it doesn't follow 100vh and I can otherwise tailor it to my theme

tech solution options:

  1. ErrorComponent takes a style attribute that is propagated down
  2. ErrorComponent uses global styles instead of a style attribute

we should update the docs also with this:
https://blitzjs.com/docs/error-handling#built-in-errors