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