-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
A suggestion for debug exceptions layout #295
Comments
The styles used should be constrained to the page itself, though we might be able to tie that down a little more. That said, I've never seen the layout do that before. We can't necessarily do modals because every front-end framework is different, and we don't need to pull an entire framework in just to handle a debug page. Do you have any idea what was causing the layout issue to begin with? |
I don't have, because an error layout (segment) is different with debug bar.
The advantages of using modal, we can find or showing en error slightest that not detected by user/developer. |
Closing this one for now. While modals are definitely an interesting solution, I can see them being more problematic as people start to integrate into their projects. I have made changes in the past to help with this, though, including clearing the output buffer when an exception happens and a couple of other small tweaks. I think we're good here. Thanks. |
I think using modal with maximum CSS z-index can fix broken the layout like this:
CodeIgniter4 sample
And this is an example with bootstrap I made:
Custom sample
or one button for show and hide the error screen.
Just a little idea.
Thank you Sir, for your fast response!
The text was updated successfully, but these errors were encountered: