Follow @alina-beck PR suggestions

This commit is contained in:
mattwr18 2019-10-14 16:41:07 +02:00
parent 1c6b5f941b
commit c45f63ffd9
2 changed files with 6 additions and 8 deletions

View File

@ -110,7 +110,7 @@ export default {
image.src = URL.createObjectURL(file)
editor.appendChild(image)
// Create Cropper.js and pass image
let cropper = new Cropper(image, {})
let cropper = new Cropper(image, { zoomable: false })
},
dropzoneDrop() {
let cropOverlay = document.querySelectorAll('.crop-overlay')[0]
@ -126,12 +126,6 @@ export default {
background-color: $background-color-softest;
}
@media only screen and (max-width: 960px) {
#postdropzone {
min-height: 200px;
}
}
.hc-attachments-upload-area-post {
position: relative;
display: flex;
@ -202,9 +196,9 @@ export default {
}
.crop-overlay {
max-height: 2000px;
position: relative;
width: 100%;
z-index: 9999;
background-color: #000;
}

View File

@ -190,6 +190,10 @@ export default {
</script>
<style lang="scss">
.ds-card-image img {
max-height: 2000px;
}
.masonry-grid {
display: grid;
grid-gap: 10px;