Improved color display.
This commit is contained in:
parent
00243b0e5e
commit
287a9615b8
@ -41,6 +41,7 @@
|
|||||||
.ant-steps-icon,
|
.ant-steps-icon,
|
||||||
.ant-color-picker-presets-label,
|
.ant-color-picker-presets-label,
|
||||||
.ant-select-selection-item,
|
.ant-select-selection-item,
|
||||||
|
.ant-color-picker-trigger-text,
|
||||||
[class*=' ant-radio'] {
|
[class*=' ant-radio'] {
|
||||||
font-family: 'DM Sans';
|
font-family: 'DM Sans';
|
||||||
}
|
}
|
||||||
|
|||||||
@ -269,7 +269,7 @@ const ObjectProperty = ({
|
|||||||
}
|
}
|
||||||
case 'color': {
|
case 'color': {
|
||||||
if (value) {
|
if (value) {
|
||||||
return <Badge color={value} text={value} />
|
return <Badge color={value} count={value.toUpperCase()} />
|
||||||
} else {
|
} else {
|
||||||
return (
|
return (
|
||||||
<Text type='secondary' {...textParams}>
|
<Text type='secondary' {...textParams}>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user