Skip to content

Commit

Permalink
style: modify menu z-index attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
kailong502431556 committed Feb 28, 2022
1 parent 3c58042 commit 0d7a778
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Menu/src/Menu.vue
Expand Up @@ -73,7 +73,7 @@ export default defineComponent({
id={prefixCls}
class={[
`${prefixCls} ${prefixCls}__${unref(menuMode)}`,
'h-[100%] overflow-hidden z-100 flex-col bg-[var(--left-menu-bg-color)]',
'h-[100%] overflow-hidden flex-col bg-[var(--left-menu-bg-color)]',
{
'w-[var(--left-menu-min-width)]': unref(collapse) && unref(layout) !== 'cutMenu',
'w-[var(--left-menu-max-width)]': !unref(collapse) && unref(layout) !== 'cutMenu'
Expand Down
2 changes: 1 addition & 1 deletion src/layout/components/useRenderLayout.tsx
Expand Up @@ -36,7 +36,7 @@ export const useRenderLayout = () => {
const renderClassic = () => {
return (
<>
<div class={['absolute top-0 left-0 h-full', { '!fixed z-99': mobile.value }]}>
<div class={['absolute top-0 left-0 h-full', { '!fixed z-3000': mobile.value }]}>
{logo.value ? (
<Logo
class={[
Expand Down

0 comments on commit 0d7a778

Please sign in to comment.