ASC.Web.Components: selected-item: CSS styles changed
This commit is contained in:
parent
d0384006f2
commit
a1f8b7df06
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user