mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 11:08:45 +08:00
Fix some icon detail in new svg icons
This commit is contained in:
parent
fd61989852
commit
30dbd310f2
@ -183,12 +183,9 @@
|
||||
|
||||
.@{dropdown-prefix-cls}-trigger,
|
||||
.@{dropdown-prefix-cls}-link {
|
||||
.@{iconfont-css-prefix} {
|
||||
.@{iconfont-css-prefix}:not(.@{iconfont-css-prefix}-ellipsis) {
|
||||
.iconfont-size-under-12px(10px);
|
||||
}
|
||||
.@{iconfont-css-prefix}-ellipsis {
|
||||
text-shadow: 0 0 currentColor;
|
||||
}
|
||||
}
|
||||
|
||||
.@{dropdown-prefix-cls}-button {
|
||||
@ -198,7 +195,7 @@
|
||||
padding-left: @padding-xs;
|
||||
padding-right: @padding-xs;
|
||||
}
|
||||
.@{iconfont-css-prefix} {
|
||||
.@{iconfont-css-prefix}:not(.@{iconfont-css-prefix}-ellipsis) {
|
||||
.iconfont-size-under-12px(10px);
|
||||
}
|
||||
}
|
||||
|
@ -89,9 +89,9 @@ export default class Progress extends React.Component<ProgressProps, {}> {
|
||||
if (format || (progressStatus !== 'exception' && progressStatus !== 'success')) {
|
||||
text = textFormatter(validProgress(percent), validProgress(successPercent));
|
||||
} else if (progressStatus === 'exception') {
|
||||
text = <Icon type={`close${iconType}`} />;
|
||||
text = <Icon type={`close${iconType}`} theme="filled" />;
|
||||
} else if (progressStatus === 'success') {
|
||||
text = <Icon type={`check${iconType}`} />;
|
||||
text = <Icon type={`check${iconType}`} theme="filled" />;
|
||||
}
|
||||
progressInfo = <span className={`${prefixCls}-text`}>{text}</span>;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user