forked from Public/pics
Grow image and its container with document height.
This commit is contained in:
parent
66a411973a
commit
6ddf518294
@ -173,11 +173,16 @@ body {
|
|||||||
.crop_position input, .crop_position .btn {
|
.crop_position input, .crop_position .btn {
|
||||||
margin: 0 5px;
|
margin: 0 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.crop_image_container {
|
||||||
|
position: relative;
|
||||||
|
flex-grow: 1;
|
||||||
|
max-height: calc(100% - 34px);
|
||||||
|
}
|
||||||
.crop_image_container img {
|
.crop_image_container img {
|
||||||
height: auto;
|
border: 1px solid #000;
|
||||||
width: auto;
|
max-height: 100%;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
max-height: 700px;
|
|
||||||
}
|
}
|
||||||
#crop_boundary {
|
#crop_boundary {
|
||||||
border: 1px dashed rgb(255, 255, 255);
|
border: 1px dashed rgb(255, 255, 255);
|
||||||
|
Loading…
Reference in New Issue
Block a user