[PR #282] Fix x button vertical centering in filter scripts search bar #313

Closed
opened 2025-11-20 04:14:04 -05:00 by saavagebueno · 0 comments
Owner

Original Pull Request: https://github.com/community-scripts/ProxmoxVE-Local/pull/282

State: closed
Merged: Yes


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
**Original Pull Request:** https://github.com/community-scripts/ProxmoxVE-Local/pull/282 **State:** closed **Merged:** Yes --- ## 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
saavagebueno added the pull-request label 2025-11-20 04:14:04 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE-Local#313