Management: Fix text overflow on set custom photo button (#2937)
This commit is contained in:
parent
05cbf60ccf
commit
ae7662a152
@ -211,10 +211,10 @@ const ManageUser: FC<OwnProps & StateProps> = ({
|
|||||||
{canSetPersonalPhoto && (
|
{canSetPersonalPhoto && (
|
||||||
<div className="section">
|
<div className="section">
|
||||||
<ListItem icon="camera-add" ripple onClick={handleSuggestPhoto}>
|
<ListItem icon="camera-add" ripple onClick={handleSuggestPhoto}>
|
||||||
{lang('UserInfo.SuggestPhoto', user.firstName)}
|
<span className="list-item-ellipsis">{lang('UserInfo.SuggestPhoto', user.firstName)}</span>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
<ListItem icon="camera-add" ripple onClick={handleSetPersonalPhoto}>
|
<ListItem icon="camera-add" ripple onClick={handleSetPersonalPhoto}>
|
||||||
{lang('UserInfo.SetCustomPhoto', user.firstName)}
|
<span className="list-item-ellipsis">{lang('UserInfo.SetCustomPhoto', user.firstName)}</span>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
{personalPhoto && (
|
{personalPhoto && (
|
||||||
<ListItem
|
<ListItem
|
||||||
|
|||||||
@ -449,3 +449,9 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.list-item-ellipsis {
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user