fix: dropzone height to fill all screen height (#10547)

This commit is contained in:
sadegh 2020-09-30 08:57:41 +03:30 committed by GitHub
parent 1f9abbee4d
commit 799758e54f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -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"

View File

@ -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;
} }