fix: added tooltip
This commit is contained in:
parent
8371262336
commit
5ee2717f45
@ -39,7 +39,7 @@
|
||||
<div v-if="data[field.name]" class="truncate">
|
||||
{{ data[field.name] }}
|
||||
</div>
|
||||
<div v-else class="text-base leading-5 text-gray-500">
|
||||
<div v-else class="text-base leading-5 text-gray-500 truncate">
|
||||
{{ field.placeholder }}
|
||||
</div>
|
||||
<template #suffix>
|
||||
@ -110,7 +110,7 @@
|
||||
/>
|
||||
<FormControl
|
||||
v-else-if="field.type === 'select'"
|
||||
class="form-control cursor-pointer [&_select]:cursor-pointer"
|
||||
class="form-control cursor-pointer [&_select]:cursor-pointer truncate"
|
||||
type="select"
|
||||
v-model="data[field.name]"
|
||||
:options="field.options"
|
||||
|
||||
@ -89,9 +89,13 @@
|
||||
<FeatherIcon name="trash-2" class="h-4 w-4" />
|
||||
</template>
|
||||
</Button>
|
||||
<Button size="sm" @click="openWebsite">
|
||||
<FeatherIcon name="link" class="h-4 w-4" />
|
||||
</Button>
|
||||
<Tooltip :text="__('Open website')">
|
||||
<div>
|
||||
<Button @click="openWebsite">
|
||||
<FeatherIcon name="link" class="h-4 w-4" />
|
||||
</Button>
|
||||
</div>
|
||||
</Tooltip>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@ -219,6 +223,7 @@ import {
|
||||
createToast,
|
||||
} from '@/utils'
|
||||
import {
|
||||
Tooltip,
|
||||
Breadcrumbs,
|
||||
Avatar,
|
||||
FileUploader,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user