Skip to content

Commit

Permalink
Fix for the hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
OfekShaltiel-UTD authored Aug 7, 2024
1 parent 067027c commit 48476a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/imagePreview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ const saveImage = async (theImage: Image) => {
div(v-if="images.length !=0" style='position: relative;')
img.cursor-pointer.object-cover.align-middle.rounded-lg(class="w-40 sm:w-64" :src = "previewImage?.url")
.absolute(style='top: 10px; right: 150px')
button.bg-red-500(class='w-40 sm:64' style="align-items: center;justify-content: center; line-height: 1;text-align: center; color: white; font-weight: 450; positon: absolute; top:0px; left: 0px; width: 30px; height: 2rem; border-radius: 50%; padding-bottom: 4px;" @click = "removeImage(previewCuid, true)") x
a.ml-10.pt-1(style="text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.25); background-color:red;") Image Upload
button.bg-red-500(class='w-40 sm:64' style="align-items: center;justify-content: center; line-height: 1;text-align: center; color: white; font-weight: 450; positon: absolute; top:0px; left: 0px; width: 30px; height: 2rem; border-radius: 50%; padding-bottom: 4px; background-color: red;" @click = "removeImage(previewCuid, true)") x
a.ml-10.pt-1(style="text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.25);") Image Upload
ImageUpload(@imageUploaded="saveImage" :pageCuid="props.pageCuid")
.py-4.grid.flex-box.flex-row.item-centered.gap-1(v-if="images.length!= 0" class="sm:grid-cols-3" style="line-height: 0px;text-align: center")
div(style="width:1200px" class="")
Expand Down

0 comments on commit 48476a8

Please sign in to comment.