File tree Expand file tree Collapse file tree 2 files changed +25
-16
lines changed
Expand file tree Collapse file tree 2 files changed +25
-16
lines changed Original file line number Diff line number Diff line change 4646 }
4747}
4848
49- // 暂时性解决dialog 问题 https://github.com/ElemeFE/element/issues/2461
49+ // to fixed https://github.com/ElemeFE/element/issues/2461
5050.el-dialog {
5151 transform : none ;
5252 left : 0 ;
5353 position : relative ;
5454 margin : 0 auto ;
5555}
5656
57- // 文章页textarea修改样式
58- .article-textarea {
59- textarea {
60- padding-right : 40px ;
61- resize : none ;
62- border : none ;
63- border-radius : 0px ;
64- border-bottom : 1px solid #bfcbd9 ;
65- }
66- }
67-
68- // element ui upload
57+ // refine element ui upload
6958.upload-container {
7059 .el-upload {
7160 width : 100% ;
7766 }
7867}
7968
80- // dropdown
69+ // dropdown
8170.el-dropdown-menu {
8271 a {
8372 display : block
8473 }
8574}
75+
76+ // fix date-picker ui bug in filter-item
77+ .el-range-editor.el-input__inner {
78+ display : inline-flex !important ;
79+ }
Original file line number Diff line number Diff line change 5959
6060 <el-form-item style =" margin-bottom : 40px ;" label-width =" 70px" label =" Summary:" >
6161 <el-input v-model =" postForm.content_short" :rows =" 1" type =" textarea" class =" article-textarea" autosize placeholder =" Please enter the content" />
62- <span v-show =" contentShortLength" class =" word-counter" >{{ contentShortLength }}字 </span >
62+ <span v-show =" contentShortLength" class =" word-counter" >{{ contentShortLength }}words </span >
6363 </el-form-item >
6464
6565 <el-form-item prop =" content" style =" margin-bottom : 30px ;" >
@@ -236,24 +236,39 @@ export default {
236236
237237<style lang="scss" scoped>
238238@import " ~@/styles/mixin.scss" ;
239+
239240.createPost-container {
240241 position : relative ;
242+
241243 .createPost-main-container {
242244 padding : 40px 45px 20px 50px ;
245+
243246 .postInfo-container {
244247 position : relative ;
245248 @include clearfix ;
246249 margin-bottom : 10px ;
250+
247251 .postInfo-container-item {
248252 float : left ;
249253 }
250254 }
251255 }
256+
252257 .word-counter {
253258 width : 40px ;
254259 position : absolute ;
255- right : - 10px ;
260+ right : 10px ;
256261 top : 0px ;
257262 }
258263}
264+
265+ .article-textarea /deep/ {
266+ textarea {
267+ padding-right : 40px ;
268+ resize : none ;
269+ border : none ;
270+ border-radius : 0px ;
271+ border-bottom : 1px solid #bfcbd9 ;
272+ }
273+ }
259274 </style >
You can’t perform that action at this time.
0 commit comments