Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

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

Calin Chitua436a889a904
diff --git a/react/features/base/buttons/CopyButton.js b/react/features/base/buttons/CopyButton.js
index 88e6ecf1a5..497a2b4d03 100644
--- a/react/features/base/buttons/CopyButton.js
+++ b/react/features/base/buttons/CopyButton.js
@@ -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 } />
</>