From 6e59f77153988ba8bef4e279bd2299d47b882402 Mon Sep 17 00:00:00 2001 From: Vagner Date: Sat, 12 Oct 2024 20:56:13 -0300 Subject: [PATCH] Fix input styles in WantSellComponent --- src/components/SellerSteps/WantSellComponent.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/components/SellerSteps/WantSellComponent.vue b/src/components/SellerSteps/WantSellComponent.vue index e10e64b..e36da0f 100644 --- a/src/components/SellerSteps/WantSellComponent.vue +++ b/src/components/SellerSteps/WantSellComponent.vue @@ -106,9 +106,9 @@ const handleButtonClick = async ( type="number" v-model="offer" class="border-none outline-none text-gray-900 sm:w-fit w-3/4" - v-bind:class="{ - 'font-semibold': offer != undefined, - 'text-xl': offer != undefined, + :class="{ + '!font-medium': offer !== undefined && offer !== '', + 'text-xl': offer !== undefined && offer !== '', }" @input="debounce(handleInputEvent, 500)($event)" placeholder="Digite sua oferta" @@ -184,6 +184,10 @@ const handleButtonClick = async ( type="text" v-model="pixKey" class="border-none outline-none sm:text-lg text-sm text-gray-900 w-fit" + :class="{ + '!font-medium': pixKey !== undefined && pixKey !== '', + 'text-xl': pixKey !== undefined && pixKey !== '', + }" placeholder="Digite a chave Pix" />