GrafanaUI: Improve Switch cursor focus on screen readers (#93100)

This commit is contained in:
Joao Silva
2024-09-09 16:06:05 +01:00
committed by GitHub
parent 0fb2eacba1
commit 94068977f5

View File

@@ -85,8 +85,9 @@ const getSwitchStyles = (theme: GrafanaTheme2, transparent?: boolean) => ({
lineHeight: 1,
input: {
height: '100%',
width: '100% !important',
opacity: 0,
left: '-100vw',
zIndex: -1000,
position: 'absolute',