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