feat(frontend): Fix style panel zIndex (#3581)
This commit is contained in:
@@ -26,8 +26,8 @@
|
||||
<div
|
||||
transition:fade={{ duration: 150 }}
|
||||
use:popperContent={{ placement: 'bottom', strategy: 'fixed' }}
|
||||
class={`color-picker-input z-[${zIndexes.colorInput}] !text-primary`}
|
||||
style="width: {width > 280 ? width : 280}px;"
|
||||
class={`color-picker-input !text-primary`}
|
||||
style="width: {width > 280 ? width : 280}px; z-index: {zIndexes.colorInput}"
|
||||
>
|
||||
<ColorPicker
|
||||
bind:isOpen
|
||||
|
||||
@@ -21,7 +21,8 @@
|
||||
|
||||
<div
|
||||
bind:clientWidth={width}
|
||||
class={`absolute z-[${zIndexes.secondaryMenu}] inset-0 overflow-hidden w-full`}
|
||||
class={`absolute inset-0 overflow-hidden w-full`}
|
||||
style={`z-index: ${zIndexes.secondaryMenu}`}
|
||||
class:pointer-events-none={!$secondaryMenu.isOpen}
|
||||
>
|
||||
{#if $secondaryMenu.isOpen && $secondaryMenu.component}
|
||||
|
||||
Reference in New Issue
Block a user