Skip to content

Commit

Permalink
优化 cell高度改为45px
Browse files Browse the repository at this point in the history
  • Loading branch information
bearyan committed Apr 18, 2017
1 parent bdebbc3 commit 6a040c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/style/base/variable/weui-cell.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
@weuiCellGapV:10px;
@weuiCellGapH:15px;
@weuiCellInnerGapH:.35em;
@weuiCellHeight: 44px;
@weuiCellHeight: 45px;
@weuiCellFontSize:17px;
@weuiCellTipsFontSize:14px;
@weuiCellLabelWidth:105px;

@weuiCellLineHeight: unit((@weuiCellHeight - 2 * @weuiCellGapV) / @weuiCellFontSize); // 高度为44px,减去上下padding的行高
@weuiCellLineHeight: unit((@weuiCellHeight - 2 * @weuiCellGapV) / @weuiCellFontSize); // 高度减去上下padding的行高
@weuiCellsMarginTop:unit(20 / @weuiCellFontSize, em);

// weui switch
Expand Down

0 comments on commit 6a040c4

Please sign in to comment.