0
1
Fork 0

fix: hover AddressListCardActions

This commit is contained in:
Javier Segarra 2024-07-23 22:37:22 +02:00
parent 61062c1418
commit 160552ff2f
1 changed files with 11 additions and 4 deletions

View File

@ -16,8 +16,10 @@ const addresses = ref([]);
const defaultAddress = ref(null);
const clientId = ref(null);
const goToAddressDetails = (id = 0) =>
const goToAddressDetails = (id = 0) => {
console.log('asd');
router.push({ name: 'AddressDetails', params: { id } });
};
const getDefaultAddress = async () => {
try {
@ -128,7 +130,7 @@ onMounted(async () => {
</div>
</div>
</QItemSection>
<QItemSection class="actions-wrapper invisible" side>
<QItemSection class="actions-wrapper" side>
<QBtn
icon="delete"
flat
@ -154,9 +156,14 @@ onMounted(async () => {
</template>
<style lang="scss" scoped>
.address-item:hover {
.address-item {
.actions-wrapper {
visibility: visible !important;
visibility: hidden;
}
&:hover {
.actions-wrapper {
visibility: visible;
}
}
}
</style>