File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 4
4
</div >
5
5
<div
6
6
role =" tooltip"
7
- class =" absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-lightTooltipText dark:darkTooltipText transition-opacity duration-300 bg-lightTooltipBackground rounded-lg shadow-sm opacity-0 tooltip dark:bg-darkTooltipBackground"
7
+ class =" absolute z-20 invisible inline-block px-3 py-2 text-sm font-medium text-lightTooltipText dark:darkTooltipText transition-opacity duration-300 bg-lightTooltipBackground rounded-lg shadow-sm opacity-0 tooltip dark:bg-darkTooltipBackground"
8
8
ref =" tooltip"
9
9
>
10
10
<slot name =" tooltip" ></slot >
Original file line number Diff line number Diff line change 23
23
data-tooltip-target =" tooltip-remove-all"
24
24
class =" flex gap-1 items-center py-1 px-3 me-2 text-sm font-medium text-lightListViewButtonText focus:outline-none bg-lightListViewButtonBackground rounded border border-lightListViewButtonBorder hover:bg-lightListViewButtonBackgroundHover hover:text-lightListViewButtonTextHover focus:z-10 focus:ring-4 focus:ring-lightListViewButtonFocusRing dark:focus:ring-darkListViewButtonFocusRing dark:bg-darkListViewButtonBackground dark:text-darkListViewButtonText dark:border-darkListViewButtonBorder dark:hover:text-darkListViewButtonTextHover dark:hover:bg-darkListViewButtonBackgroundHover rounded-default"
25
25
>
26
- <IconBanOutline class =" w-5 h-5 " />
27
-
28
- <div id =" tooltip-remove-all" role =" tooltip"
29
- class =" absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-sm opacity-0 tooltip dark:bg-gray-700" >
30
- {{ $t('Remove selection') }}
31
- <div class =" tooltip-arrow" data-popper-arrow ></div >
32
- </div >
26
+ <Tooltip >
27
+ <IconBanOutline class =" w-5 h-5 " />
28
+ <template #tooltip >
29
+ Remove selection
30
+ </template >
31
+ </Tooltip >
33
32
</button >
34
33
35
34
<button
@@ -161,7 +160,7 @@ import { useRoute } from 'vue-router';
161
160
import { showErrorTost } from ' @/composables/useFrontendApi'
162
161
import { getCustomComponent , initThreeDotsDropdown } from ' @/utils' ;
163
162
import ThreeDotsMenu from ' @/components/ThreeDotsMenu.vue' ;
164
-
163
+ import { Tooltip } from ' @/afcl '
165
164
166
165
import {
167
166
IconBanOutline ,
You can’t perform that action at this time.
0 commit comments