perf[Navbar]: refine style

This commit is contained in:
Pan 2019-02-14 14:29:04 +08:00
parent b74ab40e2a
commit 01018ee1f9
1 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<template>
<el-menu class="navbar" mode="horizontal">
<div class="navbar">
<hamburger :toggle-click="toggleSideBar" :is-active="sidebar.opened" class="hamburger-container"/>
<breadcrumb />
<el-dropdown class="avatar-container" trigger="click">
@ -18,7 +18,7 @@
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</el-menu>
</div>
</template>
<script>
@ -54,7 +54,7 @@ export default {
.navbar {
height: 50px;
line-height: 50px;
border-radius: 0px !important;
box-shadow: 0 1px 3px 0 rgba(0,0,0,.12), 0 0 3px 0 rgba(0,0,0,.04);
.hamburger-container {
line-height: 58px;
height: 50px;