Skip to content

Possible debug toolbar css problem #5097

@rramsey

Description

@rramsey

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.

<style type="text/css">
    .debu
</style>

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:

<style type="text/css">
    .debug {
        font-size: 18pt;
        color: blue;
    }
</style>

Or whatever style is appropriate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugVerified issues on the current code behavior or pull requests that will fix them

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions