Skip to content

Commit

Permalink
fix(textarea): 调整高度
Browse files Browse the repository at this point in the history
  • Loading branch information
jimczj committed Aug 6, 2018
1 parent 2f03a8f commit 97cb452
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/textarea/index.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
.at-textarea {
background-color: #fff;
font-size: 28px;
padding: 30px 25px;
padding: 15px;
width: 100%;
border: 1px solid #f5f5f5;
border-radius: 4px;
box-sizing: border-box;

&__textarea {
height: 168px;
height: 100px;
width: 100%;
outline: none;
resize: none;
Expand Down
2 changes: 0 additions & 2 deletions src/pages/form/textarea/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ export default class Index extends Taro.Component {
<AtTextarea
value={this.state.textareaValue}
onChange={this.handleChange.bind(this)}
autoFocus
maxlength='200'
placeholder='你的问题是...'
/>
Expand All @@ -51,7 +50,6 @@ export default class Index extends Taro.Component {
count={false}
value={this.state.textareaValue}
onChange={this.handleChange.bind(this)}
autoFocus
maxlength='200'
placeholder='你的问题是...'
/>
Expand Down

0 comments on commit 97cb452

Please sign in to comment.