mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Follow @alina-beck PR suggestions
This commit is contained in:
parent
1c6b5f941b
commit
c45f63ffd9
@ -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;
|
||||
}
|
||||
|
||||
|
||||
@ -190,6 +190,10 @@ export default {
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.ds-card-image img {
|
||||
max-height: 2000px;
|
||||
}
|
||||
|
||||
.masonry-grid {
|
||||
display: grid;
|
||||
grid-gap: 10px;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user