fix: droplist z-index

This commit is contained in:
Arman
2024-08-08 14:09:09 +02:00
parent 600532433a
commit 3c60dafdce
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -120,7 +120,7 @@
bind:this={tooltip}
class:u-width-full-line={fullWidth}
style:--arrow-size={`${arrowSize}px`}
style:z-index="10">
style:z-index="21">
<div
class="drop-arrow"
class:is-popover={isPopover}
+2 -3
View File
@@ -31,9 +31,8 @@
<div
class="drop is-no-arrow"
class:u-max-width-100-percent={fullWidth}
style={`${width ? `--drop-width-size-desktop:${width}rem; ` : ''} ${
position === 'static' ? 'position:static' : 'position:relative'
}`}>
style:--drop-width-size-desktop={width ? `${width}rem` : ''}
style:position>
{#if $$slots.list}
<section
class:u-overflow-y-auto={scrollable}