Skip to content

Commit

Permalink
components/Tabs/Tabs.vue - Add tooltip to tab icon when title is absent
Browse files Browse the repository at this point in the history
  • Loading branch information
DanuAnjana committed Nov 7, 2024
1 parent afb7eef commit 897c614
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/src/core/components/Tabs/Tabs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
class="tab-icon"
:name="tab.icon"
v-if="tab.icon"
v-bind:tooltip="!tab.title && tab.tooltip ? $vt(tab.tooltip) : null"
v-bind:flow="!tab.title && tab.tooltip ? 'bottom' : null"
:flow="!tab.title && tab.tooltip ? 'bottom' : null"
:tooltip="!tab.title && tab.tooltip ? $vt(tab.tooltip) : null"
/>{{ $vt(tab.title) }}</span
>
<div
Expand Down

0 comments on commit 897c614

Please sign in to comment.