From 6ddb96ada28ceadf8fd849ab57b71e007eab72e1 Mon Sep 17 00:00:00 2001 From: Victor Marin <36818606+mdvictor@users.noreply.github.com> Date: Thu, 29 Aug 2024 15:28:00 +0300 Subject: [PATCH] Add extra width to menu to accomodate checkbox (#92600) * Add extra width to menu to accomodate checkbox * modify value --- packages/grafana-ui/src/components/Select/SelectMenu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/grafana-ui/src/components/Select/SelectMenu.tsx b/packages/grafana-ui/src/components/Select/SelectMenu.tsx index 9b4f6f5d19f..161345219f2 100644 --- a/packages/grafana-ui/src/components/Select/SelectMenu.tsx +++ b/packages/grafana-ui/src/components/Select/SelectMenu.tsx @@ -39,7 +39,7 @@ const VIRTUAL_LIST_ITEM_HEIGHT = 37; const VIRTUAL_LIST_WIDTH_ESTIMATE_MULTIPLIER = 8; const VIRTUAL_LIST_PADDING = 8; // Some list items have icons or checkboxes so we need some extra width -const VIRTUAL_LIST_WIDTH_EXTRA = 36; +const VIRTUAL_LIST_WIDTH_EXTRA = 58; // A virtualized version of the SelectMenu, descriptions for SelectableValue options not supported since those are of a variable height. //