Skip to content

Commit

Permalink
fix: 修复文本域计数器对齐问题
Browse files Browse the repository at this point in the history
  • Loading branch information
uxsi committed Jan 16, 2020
1 parent f923afb commit 587c35c
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 12 deletions.
2 changes: 1 addition & 1 deletion dist/example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@ <h2 class="weui-form__title">输入框状态</h2>
<div class="weui-cells weui-cells_form">
<div class="weui-cell weui-cell_active" id="js_cell">
<div class="weui-cell__hd"><label class="weui-label">卡号</label></div>
<div class="weui-cell__bd">
<div class="weui-cell__bd weui-flex">
<input id="js_input" class="weui-input" autofocus type="text" pattern="[0-9]*" placeholder="请输入16位数卡号" maxlength="16" />
<button id="js_input_clear" class="weui-btn_reset weui-btn_icon weui-btn_input-clear">
<i class="weui-icon-clear"></i>
Expand Down
7 changes: 1 addition & 6 deletions dist/style/weui.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/style/weui.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/example/fragment/form_input_status.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h2 class="weui-form__title">输入框状态</h2>
<div class="weui-cells weui-cells_form">
<div class="weui-cell weui-cell_active" id="js_cell">
<div class="weui-cell__hd"><label class="weui-label">卡号</label></div>
<div class="weui-cell__bd">
<div class="weui-cell__bd weui-flex">
<input id="js_input" class="weui-input" autofocus type="text" pattern="[0-9]*" placeholder="请输入16位数卡号" maxlength="16" />
<button id="js_input_clear" class="weui-btn_reset weui-btn_icon weui-btn_input-clear">
<i class="weui-icon-clear"></i>
Expand Down
3 changes: 0 additions & 3 deletions src/style/widget/weui-cell/weui-form/weui-form_common.less
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,6 @@
background-color:transparent;
}
}
.weui-cell__bd{
display:flex;
}
.weui-cell__ft{
font-size:0;
}
Expand Down

0 comments on commit 587c35c

Please sign in to comment.