mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 03:29:59 +08:00
fix button padding
This commit is contained in:
parent
fc2edb386c
commit
cf6ed2ae36
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user