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