forked from Public/pics
Use flexbox for crop editor box sizing.
This commit is contained in:
parent
2c68b6a798
commit
d4cc72304e
@ -145,6 +145,8 @@ body {
|
||||
/* Crop editor
|
||||
----------------*/
|
||||
#crop_editor {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
@ -161,6 +163,7 @@ body {
|
||||
}
|
||||
.crop_image_container {
|
||||
position: relative;
|
||||
flex-grow: 1;
|
||||
}
|
||||
.crop_position {
|
||||
background: rgba(0, 0, 0, 1.0);
|
||||
|
@ -131,7 +131,7 @@ class CropEditor {
|
||||
}
|
||||
|
||||
showContainer() {
|
||||
this.container.style.display = "block";
|
||||
this.container.style.display = '';
|
||||
this.setInputValues();
|
||||
this.positionBoundary();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user