Skip to content

Commit

Permalink
fix: sider z-index 100->99
Browse files Browse the repository at this point in the history
  • Loading branch information
sendya committed Mar 26, 2022
1 parent 0f105eb commit 2dbde99
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/pro-layout/examples/layouts/BasicLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
v-model:selectedKeys="baseState.selectedKeys"
v-model:openKeys="baseState.openKeys"
v-bind="state"
disable-content-margin
style="height: 100vh"
:loading="loading"
:breadcrumb="{ routes: breadcrumb }"
disable-content-margin
style="height: 100vh"
iconfont-url="//at.alicdn.com/t/font_2804900_nzigh7z84gc.js"
>
<template #menuHeaderRender>
Expand Down
3 changes: 2 additions & 1 deletion packages/pro-layout/examples/views/NestedLayout.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<template>
<pro-layout
nav-theme="light"
layout="mix"
:header-render="false"
:fix-siderbar="true"
:split-menus="false"
:sider-width="160"
:menu-header-render="false"
:menu-data="menuData"
>
<p>11111111111111sfnuisdfbui</p>
Expand Down
2 changes: 1 addition & 1 deletion packages/pro-layout/src/components/SiderMenu/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
position: fixed;
top: 0;
left: 0;
z-index: 100;
z-index: 99; // react pro-components: z-index: 100;
height: 100%;
overflow: auto;
overflow-x: hidden;
Expand Down

0 comments on commit 2dbde99

Please sign in to comment.