A user encountered a display issue on mobile where the “Fechar” (Close) button text in the search bar was truncated and not fully visible. They provided screenshots comparing their store to another that displayed correctly.
Initial Solutions Provided:
First suggestion: CSS code targeting .search-bar__close-button with fixed width of 82px
Second suggestion: Adjusting .search-bar__top-wrapper with column-gap and button width of 25%
Refinement:
The user requested an adjustment to prevent the search bar itself from changing width. The solution was updated to target specifically .header__search-bar-wrapper.is-visible.is-fixed with the same column-gap and button width properties.
Resolution:
The issue was successfully resolved with the refined CSS code. The user confirmed the fix worked correctly and thanked the helpers.
Summarized with AI on November 8.
AI used: claude-sonnet-4-5-20250929.
I have a problem with the “Fechar” (Close) button in the search bar, where the word doesn’t appear in full, and this is only on mobile, here’s a screenshot: