fix(stage-ui): combobox z-order (#980)
--------- Co-authored-by: Neko <neko@ayaka.moe>
This commit is contained in:
@@ -71,7 +71,10 @@ function toDisplayValue(value: T): string {
|
||||
:side-offset="4"
|
||||
:avoid-collisions="true"
|
||||
:class="[
|
||||
'z-150 w-full min-w-[160px] overflow-hidden rounded-xl shadow-sm border will-change-[opacity,transform]',
|
||||
// NOTICE: DrawerContent is z-[1000], here we choose `1010`
|
||||
// Read more at: https://github.com/moeru-ai/airi/blob/0fddd043f2b213f441f3998c52dca1d24acb8405/packages/stage-ui/src/components/scenarios/dialogs/audio-input/hearing-config-dialog.vue#L62C8-L62C21
|
||||
'z-[1010]',
|
||||
'w-full min-w-[160px] overflow-hidden rounded-xl shadow-sm border will-change-[opacity,transform]',
|
||||
'data-[side=top]:animate-slideDownAndFade data-[side=right]:animate-slideLeftAndFade data-[side=bottom]:animate-slideUpAndFade data-[side=left]:animate-slideRightAndFade',
|
||||
'bg-white dark:bg-neutral-900',
|
||||
'border-neutral-200 dark:border-neutral-800 border-solid border-2 focus:border-neutral-300 dark:focus:border-neutral-600',
|
||||
|
||||
Reference in New Issue
Block a user