Skip to content

Fix x button vertical centering in filter scripts search bar#282

Merged
michelroegl-brunner merged 1 commit intomainfrom
fix/273
Nov 7, 2025
Merged

Fix x button vertical centering in filter scripts search bar#282
michelroegl-brunner merged 1 commit intomainfrom
fix/273

Conversation

@michelroegl-brunner
Copy link
Copy Markdown
Member

Changes

  • Fixed vertical centering of the x (clear) button in the filter scripts search bar
  • Removed size='icon' constraint that was limiting button height to 36px
  • Changed positioning to use inset-y-0 with h-full to match the full input field height
  • Added flex items-center justify-center for proper icon centering within the button

Fixes

  • Button now properly centers vertically within the input field
  • Hover background now matches the full input height in both light and dark themes
  • Resolves issue where hover background appeared shorter than the input field

Testing

  • Verified button is vertically centered
  • Verified hover state background matches input height in both themes

- Removed size='icon' constraint that limited button height
- Changed positioning to use inset-y-0 with h-full to match input field height
- Added flex items-center justify-center for proper icon centering
- Fixes hover background height mismatch between light and dark themes
@michelroegl-brunner michelroegl-brunner requested a review from a team as a code owner November 7, 2025 12:03
@michelroegl-brunner michelroegl-brunner linked an issue Nov 7, 2025 that may be closed by this pull request
@michelroegl-brunner michelroegl-brunner merged commit 220b610 into main Nov 7, 2025
4 checks passed
@michelroegl-brunner michelroegl-brunner deleted the fix/273 branch November 13, 2025 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

reposition close button at searchbar

1 participant