From 952da3287983728e164c45c8364cfef4353774eb Mon Sep 17 00:00:00 2001 From: Pan Date: Tue, 16 Apr 2019 14:46:05 +0800 Subject: [PATCH] perf[element-ui.scss]: refine default style --- src/styles/element-ui.scss | 22 +++++++------------ .../example/components/ArticleDetail.vue | 19 ++++++++++++++-- 2 files changed, 25 insertions(+), 16 deletions(-) diff --git a/src/styles/element-ui.scss b/src/styles/element-ui.scss index 9422dd18..9581d56a 100644 --- a/src/styles/element-ui.scss +++ b/src/styles/element-ui.scss @@ -46,7 +46,7 @@ } } -//暂时性解决dialog 问题 https://github.com/ElemeFE/element/issues/2461 +// to fixed https://github.com/ElemeFE/element/issues/2461 .el-dialog { transform: none; left: 0; @@ -54,18 +54,7 @@ margin: 0 auto; } -//文章页textarea修改样式 -.article-textarea { - textarea { - padding-right: 40px; - resize: none; - border: none; - border-radius: 0px; - border-bottom: 1px solid #bfcbd9; - } -} - -//element ui upload +// refine element ui upload .upload-container { .el-upload { width: 100%; @@ -77,9 +66,14 @@ } } -//dropdown +// dropdown .el-dropdown-menu { a { display: block } } + +// fix date-picker ui bug in filter-item +.el-range-editor.el-input__inner { + display: inline-flex !important; +} diff --git a/src/views/example/components/ArticleDetail.vue b/src/views/example/components/ArticleDetail.vue index b1aa8df6..55d2972a 100644 --- a/src/views/example/components/ArticleDetail.vue +++ b/src/views/example/components/ArticleDetail.vue @@ -59,7 +59,7 @@ - {{ contentShortLength }}字 + {{ contentShortLength }}words @@ -236,24 +236,39 @@ export default {