Merge pull request #900 from ONLYOFFICE/bugfix/fixed-combo-box-styles
Web: Components: fixed combo-button
This commit is contained in:
commit
f61a303e01
@ -79,18 +79,17 @@ class ComboButton extends React.Component {
|
|||||||
/>
|
/>
|
||||||
</StyledIcon>
|
</StyledIcon>
|
||||||
)}
|
)}
|
||||||
{selectedOption.label && (
|
|
||||||
<Text
|
<Text
|
||||||
noBorder={noBorder}
|
noBorder={noBorder}
|
||||||
title={selectedOption.label}
|
title={selectedOption.label}
|
||||||
as="div"
|
as="div"
|
||||||
truncate={true}
|
truncate={true}
|
||||||
fontWeight={600}
|
fontWeight={600}
|
||||||
className="combo-button-label"
|
className="combo-button-label"
|
||||||
>
|
>
|
||||||
{selectedOption.label}
|
{selectedOption.label}
|
||||||
</Text>
|
</Text>
|
||||||
)}
|
|
||||||
|
|
||||||
<StyledArrowIcon
|
<StyledArrowIcon
|
||||||
needDisplay={withOptions || withAdvancedOptions}
|
needDisplay={withOptions || withAdvancedOptions}
|
||||||
|
Loading…
Reference in New Issue
Block a user