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(participants-pane): Allow multiline text in footer context menu

Hristo Terezov77464ddcc490
diff --git a/react/features/participants-pane/components/web/FooterContextMenu.tsx b/react/features/participants-pane/components/web/FooterContextMenu.tsx
index 63512d63e3..6b64244f44 100644
--- a/react/features/participants-pane/components/web/FooterContextMenu.tsx
+++ b/react/features/participants-pane/components/web/FooterContextMenu.tsx
@@ -44,7 +44,14 @@ const useStyles = makeStyles()(theme => {
right: 0,
top: '-8px',
transform: 'translateY(-100%)',
- width: '283px'
+ width: '283px',
+
+ // Allow text in menu items to wrap to multiple lines.
+ '& [role="button"] > div > span, & [role="menuitem"] > div > span': {
+ whiteSpace: 'normal',
+ wordBreak: 'break-word',
+ overflowWrap: 'break-word'
+ }
},
text: {