Skip to content

Bug: Minor typo in Tailwind class inside PolicyBanner.tsx #2502

@Myke789

Description

@Myke789

Describe the bug

While reviewing the file apps/web/src/components/Banner/PolicyBanner.tsx, I noticed a small typo in a Tailwind class: There’s a missing space between transition-all and active:bg-[#06318E]. This prevents the active: state from working correctly.

Steps

Original line:

className="... transition-allactive:bg-[#06318E] ..."

Suggested fix:

className="... transition-all active:bg-[#06318E] ..."

I have submitted a pull request to fix this here: [#2501](https://github.com/base/web/pull/2501)

### Expected behavior

The button's active state should apply the correct styles when pressed, with proper spacing in the Tailwind classes.


### Additional info

_No response_

### Environment

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions