mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 06:03:38 +08:00
fix some components style detail
This commit is contained in:
parent
a0b5b3f346
commit
466aea3ea5
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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,
|
||||
});
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user