Skip to content

"search button" CSS max_width doesn't work well with TT4 #56081

Description

@jobthomas

Description

The search button in a header menu of TT4 isn't working as expected calc(100% - 100px) is overriding a nice button look. See screenshots.

Step-by-step reproduction instructions

  1. Add search link to TT4 header menu.
  2. Select "display button only"

Both with "search" as button text or the search icon, there's max width CSS that is overriding what it should be.

Screenshots, screen recording, code snippet


Environment info

Note: I've searched the repo for open issues with "search button" but nothing evident popped up as a duplicate. Sorry if it is one.

Tested on https://thomas.mystagingwebsite.com/ without other plugins activated. After reactivating them, the same could be reproduced with the Woo search products button. cc @nerrad

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Block] SearchAffects the Search Block - used to display a search field[Type] BugAn existing feature does not function as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions