Add tooltips
gitea/hedera-web/pipeline/pr-4922-vueMigration This commit looks good Details

This commit is contained in:
William Buezas 2024-08-14 12:22:51 -03:00
parent 594b17b4ab
commit 7e0c591026
2 changed files with 20 additions and 9 deletions

View File

@ -51,12 +51,11 @@ const onConfirmPay = async () => {
<span class="amount" :class="{ negative: debt < 0 }"> <span class="amount" :class="{ negative: debt < 0 }">
{{ currency(debt || 0) }} {{ currency(debt || 0) }}
</span> </span>
<QIcon <QIcon name="info" class="info" size="sm">
name="info" <QTooltip max-width="450px">
:title="t('paymentInfo')" {{ t('paymentInfo') }}
class="info" </QTooltip>
size="sm" </QIcon>
/>
</div> </div>
<QBtn <QBtn
icon="payments" icon="payments"
@ -64,14 +63,22 @@ const onConfirmPay = async () => {
@click="onPayClick()" @click="onPayClick()"
rounded rounded
no-caps no-caps
/> >
<QTooltip>
{{ t('makePayment') }}
</QTooltip>
</QBtn>
<QBtn <QBtn
:to="{ name: 'basket' }" :to="{ name: 'basket' }"
icon="shopping_cart" icon="shopping_cart"
:label="t('shoppingCart')" :label="t('shoppingCart')"
rounded rounded
no-caps no-caps
/> >
<QTooltip>
{{ t('shoppingCart') }}
</QTooltip>
</QBtn>
</Teleport> </Teleport>
<QPage class="vn-w-sm"> <QPage class="vn-w-sm">
<div <div

View File

@ -69,7 +69,11 @@ onMounted(async () => {
:label="t('newOrder')" :label="t('newOrder')"
rounded rounded
no-caps no-caps
/> >
<QTooltip>
{{ t('newOrder') }}
</QTooltip>
</QBtn>
</Teleport> </Teleport>
<QPage class="vn-w-sm"> <QPage class="vn-w-sm">
<CardList <CardList