Skip to content

Bug: [DebugBar] Rotation applied outside of toolbar #7875

Closed
@sanchawebo

Description

@sanchawebo

PHP Version

8.1

CodeIgniter4 Version

4.4

CodeIgniter4 Installation Method

Composer (using codeigniter4/appstarter)

Which operating systems have you tested for this bug?

macOS

Which server did you use?

apache

Database

MySQL 5.7.39

What happened?

Since the new update (4.4) a rotation-css-rule is applied to my icons.

Steps to Reproduce

Place an element with the rotate-class anywhere on a page where the toolbar is active.

Expected Output

No rotation.

Anything else?

In vendor/codeigniter4/framework/system/Debug/Toolbar/Views/toolbar.css I found this rule:

/* ENDLESS ROTATE */
.rotate {
  animation: rotate 9s linear infinite;
}

This rule gets applied to my own elements which have the rotate-class, as it is not scoped.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugVerified issues on the current code behavior or pull requests that will fix themgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions