fix(base) fixed text going out of share meeting container

This commit is contained in:
Calin Chitu 2021-12-21 12:16:13 +02:00 committed by Calinteodor
parent 9816be4745
commit a436a889a9
1 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@ const styles = theme => {
textOverflow: 'ellipsis', textOverflow: 'ellipsis',
whiteSpace: 'nowrap', whiteSpace: 'nowrap',
maxWidth: 292, maxWidth: 292,
marginRight: 16, marginRight: theme.spacing(3),
'&.selected': { '&.selected': {
fontWeight: 600 fontWeight: 600
@ -186,8 +186,8 @@ function CopyButton({ classes, className, displayedText, textToCopy, textOnHover
return ( return (
<> <>
<div className = { `${classes.copyButton}-content` }> <div className = { clsx(classes.content) }>
{ isHovered ? textOnHover : displayedText } <span> { isHovered ? textOnHover : displayedText } </span>
</div> </div>
<Icon src = { IconCopy } /> <Icon src = { IconCopy } />
</> </>