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