Fix x button vertical centering in filter scripts search bar
- 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
This commit is contained in:
@@ -158,8 +158,7 @@ export function FilterBar({
|
||||
<Button
|
||||
onClick={() => updateFilters({ searchQuery: "" })}
|
||||
variant="ghost"
|
||||
size="icon"
|
||||
className="absolute inset-y-0 right-0 pr-3 text-muted-foreground hover:text-foreground"
|
||||
className="absolute inset-y-0 right-0 flex items-center justify-center pr-3 h-full text-muted-foreground hover:text-foreground"
|
||||
>
|
||||
<svg
|
||||
className="h-5 w-5"
|
||||
|
||||
Reference in New Issue
Block a user