ASC.Web.Components: selected-item: CSS styles changed

This commit is contained in:
Andrey Savihin 2019-12-26 16:27:30 +03:00
parent d0384006f2
commit a1f8b7df06

View File

@ -42,13 +42,13 @@ const StyledCloseButton = styled.div`
const SelectedItem = (props) => {
const { isDisabled, text, onClose } = props;
const colorProps = isDisabled ? { color: "#D0D5DA" } : {};
const colorProps = { color: isDisabled ? "#D0D5DA" : "#555F65" };
//console.log("SelectedItem render");
return (
<StyledSelectedItem {...props}>
<StyledSelectedTextBox>
<Text as='span' truncate {...colorProps} >
<Text as='span' truncate {...colorProps} fontWeight={600}>
{text}
</Text>
</StyledSelectedTextBox>