Skip to content

Commit

Permalink
fix: icon misaligned in popconfirm
Browse files Browse the repository at this point in the history
  • Loading branch information
HeskeyBaozi authored and afc163 committed Sep 7, 2018
1 parent 461984a commit 0ffaba0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions components/popover/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,12 @@
padding: 4px 0 12px;
font-size: @font-size-base;
color: @popover-color;
position: relative;
> .@{iconfont-css-prefix} {
position: absolute;
top: 4px + 3px; // 4px for padding-top, 3px for vertical middle;
color: @warning-color;
line-height: @line-height-base + 0.1;
top: 20px;
position: absolute;
font-size: @font-size-base + 2px;
}
&-title {
Expand Down

0 comments on commit 0ffaba0

Please sign in to comment.