feat: 设置头部样式对齐

This commit is contained in:
fit2cloud-chenyw 2021-06-15 18:52:33 +08:00
parent 1c4d9fe371
commit dce12e6057
2 changed files with 8 additions and 2 deletions

View File

@ -9,7 +9,7 @@
:active-text-color="variables.topMenuActiveText"
:default-active="activeMenu"
mode="horizontal"
:style="{'background-color': '#f1f3f8'}"
:style="{'background-color': '#f1f3f8', 'margin-left': '260px', 'position': 'absolute'}"
@select="handleSelect"
>
<div v-for="item in permission_routes" :key="item.path" class="nav-item">

View File

@ -4,7 +4,7 @@
<topbar />
<de-container style="padding-top: 56px;">
<de-aside-container v-if="!sidebar.hide">
<de-aside-container v-if="!sidebar.hide" class="le-aside-container">
<sidebar class="sidebar-container" />
</de-aside-container>
@ -116,4 +116,10 @@ export default {
.la-main-container {
padding: 0px !important;
}
.le-aside-container {
.sidebar-container {
width: 100% !important;
position: initial !important;
}
}
</style>