diff --git a/style/components/button.less b/style/components/button.less index cee2f171e3..605c46da29 100644 --- a/style/components/button.less +++ b/style/components/button.less @@ -64,7 +64,7 @@ .animation(loadingCircle 1s infinite linear); height: 12px; line-height: 12px; - right: 12px; + right: 11px; top: 50%; margin-top: -6px; opacity: 1; @@ -75,7 +75,7 @@ &-sm&-loading { padding-right: 24px; &:after { - right: 8px; + right: 7px; } } diff --git a/style/components/dropdown.less b/style/components/dropdown.less index 018f8006e9..d03e6e51d9 100644 --- a/style/components/dropdown.less +++ b/style/components/dropdown.less @@ -134,7 +134,7 @@ .@{dropdown-prefix-cls}-button { &.ant-btn-group > .ant-btn:last-child:not(:first-child) { - padding-right: 8px; + padding-right: 7px; } .anticon-down { .iconfont-size-under-12px(10px); diff --git a/style/mixins/button.less b/style/mixins/button.less index ba189d5ba2..73f968a494 100644 --- a/style/mixins/button.less +++ b/style/mixins/button.less @@ -245,8 +245,8 @@ .@{btnClassName}:not(:first-child):not(:last-child) { border-radius: 0; - padding-left: 8px; - padding-right: 8px; + padding-left: 7px; + padding-right: 7px; } > .@{btnClassName}:first-child { @@ -254,14 +254,14 @@ &:not(:last-child) { border-bottom-right-radius: 0; border-top-right-radius: 0; - padding-right: 8px; + padding-right: 7px; } } > .@{btnClassName}:last-child:not(:first-child) { border-bottom-left-radius: 0; border-top-left-radius: 0; - padding-left: 8px; + padding-left: 7px; } & > & { @@ -276,13 +276,13 @@ > .@{btnClassName}:last-child { border-bottom-right-radius: 0; border-top-right-radius: 0; - padding-right: 8px; + padding-right: 7px; } } & > &:last-child:not(:first-child) > .@{btnClassName}:first-child { border-bottom-left-radius: 0; border-top-left-radius: 0; - padding-left: 8px; + padding-left: 7px; } } diff --git a/style/themes/default/custom.less b/style/themes/default/custom.less index 0641a60388..0e465525f8 100644 --- a/style/themes/default/custom.less +++ b/style/themes/default/custom.less @@ -69,11 +69,11 @@ @btn-disable-bg : #f3f5f7; @btn-disable-border : @border-color-base; -@btn-padding-base : 4px 15px; +@btn-padding-base : 4px 11px; @btn-border-radius-base : 6px; @btn-font-size-lg : 14px; -@btn-padding-lg : 4px 15px 5px 15px; +@btn-padding-lg : 4px 11px 5px 11px; @btn-border-radius-lg : @btn-border-radius-base; @btn-padding-sm : 1px 7px;