Skip to content

Commit

Permalink
bugfixed:Fixed checktree label horizontal padding. (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
hiyangguo authored and simonguo committed Jul 31, 2018
1 parent e6f521f commit b969c0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions styles/check-tree-picker.less
Expand Up @@ -23,7 +23,7 @@
//padding-left: 16px;
padding: @picker-tree-node-padding-vertical @picker-tree-node-padding-horizontal;
//text gap + checkbox space
padding-left: @picker-tree-arrow-down-width+@picker-tree-arrow-down-gap+8px+26px;
padding-left: 58px; // 10px + 36px + 12px
display: inline-block;
cursor: pointer;
position: relative;
Expand All @@ -49,7 +49,7 @@
height: 100%;
background-color: @picker-tree-bg;
top: 0;
margin-left: -51px; // 24px + 36px - 9px
margin-left: -58px; // 10px + 36px + 12px
}

&-active > .@{ctpns}-view-checknode-label,
Expand Down

0 comments on commit b969c0a

Please sign in to comment.