Skip to content

Commit

Permalink
Atoms - Tooltip - Set max z-index inline
Browse files Browse the repository at this point in the history
  • Loading branch information
graphieros committed Dec 19, 2024
1 parent 25f5924 commit 51540dc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/atoms/Tooltip.vue
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const convertedBackground = computed(() => {
data-cy="tooltip"
:class="{'vue-data-ui-custom-tooltip' : isCustom, 'vue-data-ui-tooltip': !isCustom}"
v-if="show"
: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};`"
: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;`"
>
<slot name="tooltip-before"/>
<slot/>
Expand All @@ -110,7 +110,6 @@ const convertedBackground = computed(() => {
box-shadow: 0 6px 12px -6px rgba(0,0,0,0.2);
position: fixed;
padding:12px;
z-index:3 !important;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
Expand Down

0 comments on commit 51540dc

Please sign in to comment.