Dashboards: Fix small drop target for importing dashboards (#72170)

file gets uploaded even on the periphery side of the dropzone
This commit is contained in:
Kunal Tiwari
2023-07-24 16:48:39 +00:00
committed by GitHub
parent 7cc9907146
commit c2a6dcf2b5
@@ -311,6 +311,8 @@ function getStyles(theme: GrafanaTheme2, isDragActive?: boolean) {
justifyContent: 'center',
}),
dropzone: css({
height: '100%',
width: '100%',
display: 'flex',
flexDirection: 'column',
}),