perf[css]: refine element-ui default size

This commit is contained in:
Pan 2017-12-22 16:25:07 +08:00
parent 093475ee50
commit 471c297f13
3 changed files with 5 additions and 4 deletions

View File

@ -20,6 +20,7 @@ import './mock' // simulation data generator
import * as filters from './filters' // global filter
Vue.use(Element, {
size: 'medium',
i18n: (key, value) => i18n.t(key, value)
})

View File

@ -122,6 +122,6 @@ export default {
.cancel-btn {
position: absolute;
right: 15px;
top: 13px;
top: 10px;
}
</style>

View File

@ -10,7 +10,7 @@
</router-link>
<el-dropdown trigger="click">
<el-button>{{!postForm.comment_disabled?'评论已打开':'评论已关闭'}}
<el-button plain>{{!postForm.comment_disabled?'评论已打开':'评论已关闭'}}
<i class="el-icon-caret-bottom el-icon--right"></i>
</el-button>
<el-dropdown-menu class="no-padding" slot="dropdown">
@ -24,7 +24,7 @@
</el-dropdown>
<el-dropdown trigger="click">
<el-button>平台
<el-button plain>平台
<i class="el-icon-caret-bottom el-icon--right"></i>
</el-button>
<el-dropdown-menu class="no-border" slot="dropdown">
@ -37,7 +37,7 @@
</el-dropdown>
<el-dropdown trigger="click">
<el-button>
<el-button plain>
外链
<i class="el-icon-caret-bottom el-icon--right"></i>
</el-button>