Skip to content

Commit

Permalink
Merge pull request #19711 from ramonlsouza/increase-poll-anno-text
Browse files Browse the repository at this point in the history
style: Increase answer size in poll results annotation
  • Loading branch information
antobinary committed Mar 1, 2024
2 parents 4d71f63 + 857314b commit 342c8ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bigbluebutton-html5/imports/ui/components/poll/service.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { escapeHtml } from '/imports/utils/string-utils';
import { defineMessages } from 'react-intl';

const POLL_AVATAR_COLOR = '#3B48A9';
const MAX_POLL_RESULT_BARS = 20;
const MAX_POLL_RESULT_KEY_LENGTH = 10;
const MAX_POLL_RESULT_BARS = 10;
const MAX_POLL_RESULT_KEY_LENGTH = 30;
const POLL_BAR_CHAR = '\u220E';

// 'YN' = Yes,No
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ const formatAnnotations = (annotations, intl, curPageId, currentPresentationPage
}).join('\n');

// Text measurement estimation
const averageCharWidth = 16;
const averageCharWidth = 14;
const lineHeight = 32;

const annotationWidth = longestLine * averageCharWidth; // Estimate width
Expand Down

0 comments on commit 342c8ec

Please sign in to comment.