mirror of
https://github.com/minio/minio.git
synced 2025-04-22 11:26:36 -04:00
fix: dropzone height to fill all screen height (#10547)
This commit is contained in:
parent
1f9abbee4d
commit
799758e54f
@ -36,7 +36,7 @@ export class Dropzone extends React.Component {
|
|||||||
// Overwrite the default styling from react-dropzone; otherwise it
|
// Overwrite the default styling from react-dropzone; otherwise it
|
||||||
// won't handle child elements correctly.
|
// won't handle child elements correctly.
|
||||||
const style = {
|
const style = {
|
||||||
height: "100%",
|
flex: "1",
|
||||||
borderWidth: "0",
|
borderWidth: "0",
|
||||||
borderStyle: "dashed",
|
borderStyle: "dashed",
|
||||||
borderColor: "#fff"
|
borderColor: "#fff"
|
||||||
|
@ -20,7 +20,8 @@
|
|||||||
@media(max-width: @screen-sm-max) {
|
@media(max-width: @screen-sm-max) {
|
||||||
padding: 75px 0 80px;
|
padding: 75px 0 80px;
|
||||||
}
|
}
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
min-height:100vh;
|
min-height:100vh;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user