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)
|
image.src = URL.createObjectURL(file)
|
||||||
editor.appendChild(image)
|
editor.appendChild(image)
|
||||||
// Create Cropper.js and pass image
|
// Create Cropper.js and pass image
|
||||||
let cropper = new Cropper(image, {})
|
let cropper = new Cropper(image, { zoomable: false })
|
||||||
},
|
},
|
||||||
dropzoneDrop() {
|
dropzoneDrop() {
|
||||||
let cropOverlay = document.querySelectorAll('.crop-overlay')[0]
|
let cropOverlay = document.querySelectorAll('.crop-overlay')[0]
|
||||||
@ -126,12 +126,6 @@ export default {
|
|||||||
background-color: $background-color-softest;
|
background-color: $background-color-softest;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 960px) {
|
|
||||||
#postdropzone {
|
|
||||||
min-height: 200px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.hc-attachments-upload-area-post {
|
.hc-attachments-upload-area-post {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -202,9 +196,9 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.crop-overlay {
|
.crop-overlay {
|
||||||
|
max-height: 2000px;
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 9999;
|
|
||||||
background-color: #000;
|
background-color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -190,6 +190,10 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
.ds-card-image img {
|
||||||
|
max-height: 2000px;
|
||||||
|
}
|
||||||
|
|
||||||
.masonry-grid {
|
.masonry-grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-gap: 10px;
|
grid-gap: 10px;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user