ui/select: fix z-index of trigger
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
&[data-expanded] {
|
||||
@apply outline-def-2 outline-1 outline;
|
||||
z-index: var(--z-index + 5);
|
||||
z-index: calc(var(--z-index) + 5);
|
||||
}
|
||||
|
||||
&[data-highlighted] {
|
||||
|
||||
@@ -146,6 +146,7 @@ export const Select = (props: SelectProps) => {
|
||||
<KSelect.HiddenSelect {...selectProps} />
|
||||
<KSelect.Trigger
|
||||
class={cx(styles.trigger)}
|
||||
style={{ "--z-index": zIndex() }}
|
||||
data-loading={loading() || undefined}
|
||||
>
|
||||
<KSelect.Value<Option>>
|
||||
|
||||
Reference in New Issue
Block a user