Fixed style error.

pull/9/head
ruibaby 2019-04-14 22:13:25 +08:00
parent dc868ab33c
commit b771a3be5f
2 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@
<div v-else :class="['top-nav-header-index', theme]"> <div v-else :class="['top-nav-header-index', theme]">
<div class="header-index-wide"> <div class="header-index-wide">
<div class="header-index-left"> <div class="header-index-left">
<logo class="top-nav-header" :show-title="device !== 'mobile'"/>
<s-menu v-if="device !== 'mobile'" mode="horizontal" :menu="menus" :theme="theme" /> <s-menu v-if="device !== 'mobile'" mode="horizontal" :menu="menus" :theme="theme" />
<a-icon v-else class="trigger" :type="collapsed ? 'menu-fold' : 'menu-unfold'" @click="toggle" /> <a-icon v-else class="trigger" :type="collapsed ? 'menu-fold' : 'menu-unfold'" @click="toggle" />
</div> </div>

View File

@ -188,7 +188,7 @@ body {
} }
.logo.top-nav-header { .logo.top-nav-header {
flex: 0 0 56px; flex: 0;
text-align: center; text-align: center;
line-height: 58px; line-height: 58px;
h1 { h1 {