Merge pull request #900 from ONLYOFFICE/bugfix/fixed-combo-box-styles

Web: Components: fixed combo-button
This commit is contained in:
Nikita Gopienko 2022-10-10 15:59:17 +03:00 committed by GitHub
commit f61a303e01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}