From f89e6c0361c1bae749807ec1af12c0e698a9e7ef Mon Sep 17 00:00:00 2001 From: Soybean Date: Wed, 27 Mar 2024 22:32:35 +0800 Subject: [PATCH] fix(projects): fix pin-toggler toolTip zIndex --- src/components/common/pin-toggler.vue | 2 +- src/components/custom/button-icon.vue | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/common/pin-toggler.vue b/src/components/common/pin-toggler.vue index aa31eadb..76a5bec4 100644 --- a/src/components/common/pin-toggler.vue +++ b/src/components/common/pin-toggler.vue @@ -17,7 +17,7 @@ const icon = computed(() => (props.pin ? 'mdi-pin-off' : 'mdi-pin')); diff --git a/src/components/custom/button-icon.vue b/src/components/custom/button-icon.vue index b786b600..3cf39e59 100644 --- a/src/components/custom/button-icon.vue +++ b/src/components/custom/button-icon.vue @@ -17,13 +17,15 @@ interface Props { tooltipContent?: string; /** Tooltip placement */ tooltipPlacement?: PopoverPlacement; + zIndex?: number; } const props = withDefaults(defineProps(), { class: 'h-36px text-icon', icon: '', tooltipContent: '', - tooltipPlacement: 'bottom' + tooltipPlacement: 'bottom', + zIndex: 98 }); interface ButtonProps { @@ -58,7 +60,7 @@ const cls = computed(() => { - +