-
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
Possible debug toolbar css problem #5097
Comments
Putting
CodeIgniter4/system/Debug/Toolbar/Views/toolbar.tpl.php Lines 267 to 274 in cc3af87
|
Well, I'm sorry I found a bug, but I'm glad it wasn't something stupid I've done. It's almost like the $name is getting truncated or something. I don't know how much help I can right now. This is getting ready to move to a production site, so I don't want to play too much with the development build. Plus our environment has multiple apps using a shared system folder, which means the system/ folder is essentially read only ATM. Is the $styles variable available to the controllers or views? |
Direction
We use github issues to track bugs, not for support.
If you have a support question, or a feature request, raise these as threads on our
forum.
Describe the bug
When the debug toolbar is enabled, the style element at the end of the toolbarContainer div is missing the style declaration. I think this may be from bad data getting in the $styles object.
I think this is around like 270 in the toolbar.tpl.php where it's looping through the names in the $styles, but I'm not sure.
CodeIgniter 4 version
4.0.5
Affected module(s)
The debug toolbar
Expected behavior, and steps to reproduce if appropriate
Expect a complete style element. with a reference to an existing class. There may be an element with a debu class, but I didn't see it immediately. Something like this:
Or whatever style is appropriate.
The text was updated successfully, but these errors were encountered: