diff --git a/src/components/ui/VnImg.vue b/src/components/ui/VnImg.vue new file mode 100644 index 000000000..37dce7c67 --- /dev/null +++ b/src/components/ui/VnImg.vue @@ -0,0 +1,52 @@ + + + + + + + + + diff --git a/src/pages/Item/Card/ItemDescriptorImage.vue b/src/pages/Item/Card/ItemDescriptorImage.vue index f16a57548..a02f75b6b 100644 --- a/src/pages/Item/Card/ItemDescriptorImage.vue +++ b/src/pages/Item/Card/ItemDescriptorImage.vue @@ -3,7 +3,7 @@ import { ref, onMounted } from 'vue'; import { useI18n } from 'vue-i18n'; import EditPictureForm from 'components/EditPictureForm.vue'; - +import VnImg from 'src/components/ui/VnImg.vue'; import { useSession } from 'src/composables/useSession'; import axios from 'axios'; @@ -69,7 +69,12 @@ onMounted(async () => { - + @@ -82,7 +87,7 @@ onMounted(async () => { - + - - {{ console.log('props: ', props.row.item.id) }} - + + + @@ -306,7 +310,11 @@ const detailsColumns = ref([ .image-wrapper { height: 50px; width: 50px; - border-radius: 50%; + margin-left: 30%; + + .image { + border-radius: 50%; + } } .no-result {