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 22:18:39 +05:30 committed by GitHub
parent 7cc9907146
commit c2a6dcf2b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -311,6 +311,8 @@ function getStyles(theme: GrafanaTheme2, isDragActive?: boolean) {
justifyContent: 'center',
}),
dropzone: css({
height: '100%',
width: '100%',
display: 'flex',
flexDirection: 'column',
}),