Grafana UI: stop input element of the react select component from overflowing and causing layout issues. (#88372)

* Grafana UI: stop input element of the react select component from overflowing the input container

* update snapshot since the css changed

---------

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
This commit is contained in:
Oscar Kilhed
2024-06-04 10:13:43 +02:00
committed by GitHub
co-authored by Ashley Harrison
parent c99fe4f970
commit 0f89f4b2d2
2 changed files with 2 additions and 1 deletions
@@ -21,6 +21,7 @@ export default function resetSelectStyles(theme: GrafanaTheme2) {
padding: 0,
// Set an explicit z-index here to ensure this element always overlays the singleValue
zIndex: 1,
overflow: 'hidden',
};
},
loadingIndicator: () => ({}),
@@ -46,7 +46,7 @@ exports[`VariableQueryEditor renders correctly 1`] = `
Loading...
</div>
<div
className=" css-lq7btu-Input"
className=" css-1tkw9oc-Input"
data-value=""
>
<input