From 508467bc6cd344b85753d7b659ea99067ab26c33 Mon Sep 17 00:00:00 2001 From: joan Date: Thu, 3 Nov 2022 08:53:53 +0100 Subject: [PATCH] Fixed card actions position --- src/pages/Claim/Card/ClaimCard.vue | 2 +- src/pages/Customer/Card/CustomerCard.vue | 8 ++++++-- src/pages/Ticket/Card/TicketCard.vue | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/pages/Claim/Card/ClaimCard.vue b/src/pages/Claim/Card/ClaimCard.vue index ad8fa5f7a..ec9497818 100644 --- a/src/pages/Claim/Card/ClaimCard.vue +++ b/src/pages/Claim/Card/ClaimCard.vue @@ -191,7 +191,7 @@ function stateColor(code) { } #descriptor-skeleton .q-card__actions { - justify-content: space-around; + justify-content: space-between; } } diff --git a/src/pages/Customer/Card/CustomerCard.vue b/src/pages/Customer/Card/CustomerCard.vue index 83586ca66..d8cd2e1be 100644 --- a/src/pages/Customer/Card/CustomerCard.vue +++ b/src/pages/Customer/Card/CustomerCard.vue @@ -20,7 +20,7 @@ const customer = ref(null); async function fetch() { const entityId = route.params.id; - const { data } = await axios.get(`Clients/${entityId}/getCard2`); + const { data } = await axios.get(`Clients/${entityId}/getCard`); if (data) customer.value = data; } @@ -191,8 +191,12 @@ async function fetch() { justify-content: space-between; } + .q-card__actions { + justify-content: center; + } + #descriptor-skeleton .q-card__actions { - justify-content: space-around; + justify-content: space-between; } } diff --git a/src/pages/Ticket/Card/TicketCard.vue b/src/pages/Ticket/Card/TicketCard.vue index 159ab879e..d339aab42 100644 --- a/src/pages/Ticket/Card/TicketCard.vue +++ b/src/pages/Ticket/Card/TicketCard.vue @@ -185,7 +185,7 @@ function stateColor(state) { } #descriptor-skeleton .q-card__actions { - justify-content: space-around; + justify-content: space-between; } }