fix: sider menu logo style problem #9

master
iczer 6 years ago committed by chenghx
parent 909edefa33
commit 0ab1565fdf
  1. 7
      src/components/menu/SiderMenu.vue

@ -1,10 +1,10 @@
<template> <template>
<a-layout-sider class="sider" width="256px" :collapsible="collapsible" v-model="collapsed" :trigger="null"> <a-layout-sider class="sider" width="256px" :collapsible="collapsible" v-model="collapsed" :trigger="null">
<div class="logo"> <div class="logo">
<a href="/"> <router-link to="/dashboard/workplace">
<img src="static/img/vue-antd-logo.png"> <img src="static/img/vue-antd-logo.png">
<h1>Vue Ant Pro</h1> <h1>Vue Ant Pro</h1>
</a> </router-link>
</div> </div>
<i-menu :collapsed="collapsed" :menuData="menuData" @select="onSelect"/> <i-menu :collapsed="collapsed" :menuData="menuData" @select="onSelect"/>
</a-layout-sider> </a-layout-sider>
@ -60,6 +60,9 @@ export default {
font-family: "Myriad Pro","Helvetica Neue",Arial,Helvetica,sans-serif; font-family: "Myriad Pro","Helvetica Neue",Arial,Helvetica,sans-serif;
font-weight: 600; font-weight: 600;
display: inline-block; display: inline-block;
height: 32px;
line-height: 32px;
vertical-align: middle;
} }
img{ img{
width: 32px; width: 32px;

Loading…
Cancel
Save