Skip to content

Commit

Permalink
fix: 修复紧凑模式下表单项 margin 计算错误
Browse files Browse the repository at this point in the history
close #25989
  • Loading branch information
AshoneA authored and baozefeng committed Aug 7, 2020
1 parent d1d23ac commit feb6083
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/form/style/index.less
Expand Up @@ -49,8 +49,8 @@
}

.explainAndExtraDistance(@num) when (@num < 0) {
margin-top: floor(@num);
margin-bottom: floor(@num);
margin-top: ceil(@num);
margin-bottom: ceil(@num);
}

// ================================================================
Expand Down

0 comments on commit feb6083

Please sign in to comment.