diff --git a/web/ASC.Web.Common/src/components/AdvancedSelector/sub-components/Selector.js b/web/ASC.Web.Common/src/components/AdvancedSelector/sub-components/Selector.js
index e091791af4..b317c1b7cd 100644
--- a/web/ASC.Web.Common/src/components/AdvancedSelector/sub-components/Selector.js
+++ b/web/ASC.Web.Common/src/components/AdvancedSelector/sub-components/Selector.js
@@ -334,6 +334,8 @@ const Selector = props => {
label={option.label}
isChecked={isChecked}
className="option_checkbox"
+ truncate={true}
+ title={option.label}
onChange={onOptionChange}
/>
) : (
@@ -343,6 +345,7 @@ const Selector = props => {
isTextOverflow={true}
className="option_link"
onClick={onLinkClick}
+ title={option.label}
>
{option.label}
@@ -458,6 +461,7 @@ const Selector = props => {
const isChecked = isGroupChecked(group);
const isIndeterminate = isGroupIndeterminate(group);
const isSelected = currentGroup.key === group.key;
+ const label = getGroupLabel(group);
return (
{
isChecked={isChecked}
isIndeterminate={isIndeterminate}
className="group_checkbox"
+ truncate={true}
onChange={onGroupChange}
/>
)}
- {getGroupLabel(group)}
+ {label}
);
@@ -568,6 +573,7 @@ const Selector = props => {
label={selectAllLabel}
isChecked={selectedAll}
isIndeterminate={false}
+ truncate={true}
onChange={onSelectAllChange}
/>
)}
diff --git a/web/ASC.Web.Components/src/components/text/common-text-styles.js b/web/ASC.Web.Components/src/components/text/common-text-styles.js
index f397523655..61192edf97 100644
--- a/web/ASC.Web.Components/src/components/text/common-text-styles.js
+++ b/web/ASC.Web.Components/src/components/text/common-text-styles.js
@@ -4,7 +4,11 @@ const commonTextStyles = css`
font-family: 'Open Sans', sans-serif, Arial;
text-align: left;
color: ${props => props.color};
- ${props => (props.truncate === true && css`white-space: nowrap; overflow: hidden; text-overflow: ellipsis;`)}
+ ${props => props.truncate && css`
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;`
+ }
`;
export default commonTextStyles;
\ No newline at end of file