Skip to content

Commit

Permalink
优化样式
Browse files Browse the repository at this point in the history
  • Loading branch information
tywei90 committed Feb 24, 2018
1 parent 41ff659 commit e4610f4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion public/main.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/components/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ ul {
color: #bdbdbd;
}
// 去掉ios内置输入框阴影
textarea[type=text],input[type=text]{
textarea[type=text],input[type=text],input[type=password]{
-webkit-appearance: none;
}
input[type=text]{
Expand Down
3 changes: 2 additions & 1 deletion src/components/units/textbody/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@

textarea {
width: calc(72vw - 530px);
max-width: 763px;
max-width: calc(72vw - 530px);
height: 70px;
max-height: 200px;
word-break: break-all;
box-sizing: border-box;
padding: 8px;
border-top-left-radius:5px;
Expand Down

0 comments on commit e4610f4

Please sign in to comment.