fix: 03 add tooltip layout

This commit is contained in:
puriphatt 2024-07-17 02:17:10 +00:00
parent 75aa7bef1d
commit b2149f1f0c

View file

@ -528,19 +528,23 @@ watch(locale, () => {
<div class="col surface-2 rounded" :no-padding="!!branchData.total"> <div class="col surface-2 rounded" :no-padding="!!branchData.total">
<template v-if="!branchData.total"> <template v-if="!branchData.total">
<div class="full-width full-height column">
<div class="self-end q-ma-md">
<TooltipComponent <TooltipComponent
class="self-end" class="self-end"
title="branchNoMainOfficeYet" title="branchNoMainOfficeYet"
caption="branchClickToCreateMainOffice" caption="branchClickToCreateMainOffice"
imgSrc="personnel-table-" imgSrc="personnel-table-"
/> />
</div>
<div class="row items-center justify-center" style="flex-grow: 1"> <div class="col flex items-center justify-center">
<AddButton <AddButton
label="branchAdd" label="branchAdd"
@trigger="() => triggerCreate('headOffice')" @trigger="() => triggerCreate('headOffice')"
/> />
</div> </div>
</div>
</template> </template>
<template v-else> <template v-else>