fix some components style detail

This commit is contained in:
afc163 2016-09-30 11:30:51 +08:00
parent a0b5b3f346
commit 466aea3ea5
3 changed files with 10 additions and 5 deletions

View File

@ -21,7 +21,7 @@
}
.@{confirm-prefix-cls}-content {
margin-left: 37px;
margin-left: 42px;
font-size: @font-size-base;
color: @text-color;
margin-top: 8px;
@ -29,10 +29,11 @@
> .@{iconfont-css-prefix} {
font-size: 24px;
margin-right: 10px;
margin-right: 16px;
padding: 0 1px;
position: relative;
top: 5px;
top: 1px;
float: left;
}
}

View File

@ -70,6 +70,7 @@ export default class Tag extends React.Component<TagProps, any> {
const classString = classNames({
[prefixCls]: true,
[`${prefixCls}-${color}`]: !!color,
[`${prefixCls}-has-color`]: !!color,
[`${prefixCls}-close`]: this.state.closing,
[className]: !!className,
});

View File

@ -5,7 +5,7 @@
.@{tag-prefix-cls} {
display: inline-block;
line-height: 22px;
line-height: 20px;
height: 22px;
padding: 0 8px;
border-radius: @border-radius-base;
@ -51,11 +51,14 @@
}
}
&-has-color {
border-color: transparent;
}
&-blue,
&-green,
&-yellow,
&-red {
border: 0;
&,
a,
a:hover,