From f579766c6058599812a2a81073e871a7648faf9d Mon Sep 17 00:00:00 2001 From: KDSBrowne Date: Wed, 8 May 2019 15:11:55 +0000 Subject: [PATCH] improve displayed percentages --- .../settings/submenus/application/component.jsx | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/bigbluebutton-html5/imports/ui/components/settings/submenus/application/component.jsx b/bigbluebutton-html5/imports/ui/components/settings/submenus/application/component.jsx index 198f476e84..049af4b483 100644 --- a/bigbluebutton-html5/imports/ui/components/settings/submenus/application/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/settings/submenus/application/component.jsx @@ -152,14 +152,16 @@ class ApplicationMenu extends BaseMenu { render() { const { availableLocales, intl } = this.props; const { isLargestFontSize, isSmallestFontSize } = this.state; - - //conversions can be found at http://pxtoem.com + + // conversions can be found at http://pxtoem.com const pixelPercentage = { - '12px': '86%', - '14px': '100%', - '16px': '114%', - '18px': '129%', - '20px': '143%', + '12px': '75%', + // 14px is actually 87.5%, rounding up to show more friendly value + '14px': '90%', + '16px': '100%', + // 18px is actually 112.5%, rounding down to show more friendly value + '18px': '110%', + '20px': '125%', }; return (