fix(base) fixed text going out of share meeting container
This commit is contained in:
parent
9816be4745
commit
a436a889a9
|
@ -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 } />
|
||||||
</>
|
</>
|
||||||
|
|
Loading…
Reference in New Issue