Grow image and its container with document height.

This commit is contained in:
Aaron van Geffen 2020-12-17 20:48:11 +01:00
parent 66a411973a
commit 6ddf518294
1 changed files with 8 additions and 3 deletions

View File

@ -173,11 +173,16 @@ body {
.crop_position input, .crop_position .btn {
margin: 0 5px;
}
.crop_image_container {
position: relative;
flex-grow: 1;
max-height: calc(100% - 34px);
}
.crop_image_container img {
height: auto;
width: auto;
border: 1px solid #000;
max-height: 100%;
max-width: 100%;
max-height: 700px;
}
#crop_boundary {
border: 1px dashed rgb(255, 255, 255);