react-dnd-crop
Version:
React custom Drag and drop with Cropper
27 lines (23 loc) • 452 B
CSS
.CropperModal {
width: 100vw;
height: 100vh;
background-color: rgba(0, 0, 0, 0.5);
flex-direction: column;
text-align: center;
justify-content: center;
align-items: center;
display: flex;
}
#CROPPER_BUTTON_CONTAINER {
width: 100vw;
margin-top: 10px;
text-align: center;
}
.ReactCropper {
border: 2px solid white;
box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.726);
width: 50%;
}
.ReactCrop__image {
max-height: 170vh;
}