Skip to content

Commit 51540dc

Browse files
committed
Atoms - Tooltip - Set max z-index inline
1 parent 25f5924 commit 51540dc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/atoms/Tooltip.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const convertedBackground = computed(() => {
9595
data-cy="tooltip"
9696
:class="{'vue-data-ui-custom-tooltip' : isCustom, 'vue-data-ui-tooltip': !isCustom}"
9797
v-if="show"
98-
:style="`pointer-events:none;top:${position.top}px;left:${position.left}px;${isCustom ? '' : `background:${convertedBackground};color:${color};max-width:${maxWidth};font-size:${fontSize}px`};border-radius:${borderRadius}px;border:${borderWidth}px solid ${borderColor};`"
98+
:style="`pointer-events:none;top:${position.top}px;left:${position.left}px;${isCustom ? '' : `background:${convertedBackground};color:${color};max-width:${maxWidth};font-size:${fontSize}px`};border-radius:${borderRadius}px;border:${borderWidth}px solid ${borderColor};z-index:2147483647;`"
9999
>
100100
<slot name="tooltip-before"/>
101101
<slot/>
@@ -110,7 +110,6 @@ const convertedBackground = computed(() => {
110110
box-shadow: 0 6px 12px -6px rgba(0,0,0,0.2);
111111
position: fixed;
112112
padding:12px;
113-
z-index:3 !important;
114113
backdrop-filter: blur(10px);
115114
-webkit-backdrop-filter: blur(10px);
116115
}

0 commit comments

Comments
 (0)