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(polls) Fix style issue (#13090)

Robert Pintilii31073fb5df42
diff --git a/react/features/polls/components/web/PollAnswer.tsx b/react/features/polls/components/web/PollAnswer.tsx
index d95f40ca4c..b30b75ee70 100644
--- a/react/features/polls/components/web/PollAnswer.tsx
+++ b/react/features/polls/components/web/PollAnswer.tsx
@@ -14,7 +14,8 @@ const useStyles = makeStyles()(theme => {
margin: '24px',
padding: '16px',
backgroundColor: theme.palette.ui02,
- borderRadius: '8px'
+ borderRadius: '8px',
+ wordBreak: 'break-word'
},
header: {
marginBottom: '24px'
diff --git a/react/features/polls/components/web/PollResults.tsx b/react/features/polls/components/web/PollResults.tsx
index 9701776243..2b58d02b24 100644
--- a/react/features/polls/components/web/PollResults.tsx
+++ b/react/features/polls/components/web/PollResults.tsx
@@ -10,7 +10,8 @@ const useStyles = makeStyles()(theme => {
margin: '24px',
padding: '16px',
backgroundColor: theme.palette.ui02,
- borderRadius: '8px'
+ borderRadius: '8px',
+ wordBreak: 'break-word'
},
header: {
marginBottom: '16px'
@@ -143,7 +144,7 @@ const PollResults = ({
style = {{ width: `${percentage}%` }} />
</span>
<div className = { classes.voteCount }>
- {voterCount}({percentage}%)
+ {voterCount} ({percentage}%)
</div>
</div>
{showDetails && voters && voterCount > 0