update z-index use
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
import { customElement, DeesElement, type TemplateResult, html, css, property, cssManager } from '@design.estate/dees-element';
|
||||
|
||||
import * as domtools from '@design.estate/dees-domtools';
|
||||
import { zIndexLayers } from './00zindex.js';
|
||||
import { demoFunc } from './dees-toast.demo.js';
|
||||
|
||||
declare global {
|
||||
@ -32,7 +33,7 @@ export class DeesToast extends DeesElement {
|
||||
container.className = `toast-container toast-container-${position}`;
|
||||
container.style.cssText = `
|
||||
position: fixed;
|
||||
z-index: 10000;
|
||||
z-index: ${zIndexLayers.overlay.toast};
|
||||
pointer-events: none;
|
||||
padding: 16px;
|
||||
display: flex;
|
||||
|
Reference in New Issue
Block a user