Skip to content

Commit

Permalink
fix: added tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
shariquerik committed Oct 31, 2024
1 parent 8371262 commit 5ee2717
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/SectionFields.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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"
Expand Down
11 changes: 8 additions & 3 deletions frontend/src/pages/Organization.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -219,6 +223,7 @@ import {
createToast,
} from '@/utils'
import {
Tooltip,
Breadcrumbs,
Avatar,
FileUploader,
Expand Down

0 comments on commit 5ee2717

Please sign in to comment.