mirror of
https://github.com/grafana/grafana.git
synced 2025-08-01 05:01:50 +08:00
Select: Fix minor layout shift when opening/closing the menu (#104476)
fix width of magnifying glass causing layout shift
This commit is contained in:
@ -5,6 +5,6 @@ import { Icon } from '../Icon/Icon';
|
||||
export function DropdownIndicator({ selectProps }: DropdownIndicatorProps) {
|
||||
const isOpen = selectProps.menuIsOpen;
|
||||
const icon = isOpen ? 'search' : 'angle-down';
|
||||
const size = isOpen ? 'sm' : 'md';
|
||||
const size = 'md';
|
||||
return <Icon name={icon} size={size} />;
|
||||
}
|
||||
|
Reference in New Issue
Block a user