fix unscrollable content if the picture is taller that the viewport

This commit is contained in:
mijorus 2020-06-10 16:20:19 +02:00 committed by GitHub
parent 2263cdb0fa
commit 5c04c49885
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -70,7 +70,7 @@ $modal-card-body-padding: 20px !default
display: flex
flex-direction: column
max-height: calc(100vh - #{$modal-card-spacing})
overflow: hidden
overflow: auto
.modal-card-head,
.modal-card-foot
@ -107,5 +107,5 @@ $modal-card-body-padding: 20px !default
background-color: $modal-card-body-background-color
flex-grow: 1
flex-shrink: 1
overflow: auto
overflow: unset
padding: $modal-card-body-padding