Skip to content

Commit

Permalink
按钮使用active效果的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tower1229 committed Jan 9, 2018
1 parent 97573ba commit 3f227f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions sdk/ui.css
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,8 @@ th {
* --------------------------------------------------
*/
.btn {
position: relative;
overflow: hidden;
font-size: 0.26rem;
font-weight: normal;
line-height: 0.65rem;
Expand Down
2 changes: 1 addition & 1 deletion sdk/ui.less
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ td, th { padding: 0;}
* Button
* --------------------------------------------------
*/
.btn { font-size: @font-size; font-weight: normal; line-height: @btn-base-height;height: @btn-base-height; display: inline-block;
.btn { position: relative;overflow:hidden;font-size: @font-size; font-weight: normal; line-height: @btn-base-height;height: @btn-base-height; display: inline-block;
margin-bottom: 0; cursor: pointer; box-sizing: border-box;touch-action: manipulation;min-width: 4em;border-radius: @radius;
user-select: none; text-align: center; vertical-align: middle; white-space: nowrap; border: 0; padding: 0 1em; }
.btn > .ion{vertical-align: middle;font-size: 1.1em;}
Expand Down

0 comments on commit 3f227f4

Please sign in to comment.