Skip to content

Commit 01018ee

Browse files
committed
perf[Navbar]: refine style
1 parent b74ab40 commit 01018ee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/views/layout/components/Navbar.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<el-menu class="navbar" mode="horizontal">
2+
<div class="navbar">
33
<hamburger :toggle-click="toggleSideBar" :is-active="sidebar.opened" class="hamburger-container"/>
44
<breadcrumb />
55
<el-dropdown class="avatar-container" trigger="click">
@@ -18,7 +18,7 @@
1818
</el-dropdown-item>
1919
</el-dropdown-menu>
2020
</el-dropdown>
21-
</el-menu>
21+
</div>
2222
</template>
2323

2424
<script>
@@ -54,7 +54,7 @@ export default {
5454
.navbar {
5555
height: 50px;
5656
line-height: 50px;
57-
border-radius: 0px !important;
57+
box-shadow: 0 1px 3px 0 rgba(0,0,0,.12), 0 0 3px 0 rgba(0,0,0,.04);
5858
.hamburger-container {
5959
line-height: 58px;
6060
height: 50px;

0 commit comments

Comments
 (0)