forked from verdnatura/hedera-web
fix: hover AddressListCardActions
This commit is contained in:
parent
61062c1418
commit
160552ff2f
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue