Update button.less

当页面上 button 太多时, transform: translate3d(0, 0, 0)会降低性能,所以删除
This commit is contained in:
Haven 2017-05-24 00:02:58 +08:00 committed by GitHub
parent b6b0e9e7cc
commit de997724fa

View file

@ -133,7 +133,7 @@
line-height: @line-height-base;
user-select: none;
.button-size(@btn-padding-base; @btn-font-size; @btn-border-radius);
transform: translate3d(0, 0, 0);
//transform: translate3d(0, 0, 0);
//transition: all @transition-time linear;
transition: color @transition-time linear, background-color @transition-time linear, border @transition-time linear;