mirror of
https://github.com/grafana/grafana.git
synced 2025-02-13 00:55:47 -06:00
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:
parent
7cc9907146
commit
c2a6dcf2b5
@ -311,6 +311,8 @@ function getStyles(theme: GrafanaTheme2, isDragActive?: boolean) {
|
|||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
}),
|
}),
|
||||||
dropzone: css({
|
dropzone: css({
|
||||||
|
height: '100%',
|
||||||
|
width: '100%',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
flexDirection: 'column',
|
flexDirection: 'column',
|
||||||
}),
|
}),
|
||||||
|
Loading…
Reference in New Issue
Block a user