From 12efa3eb2cccd48816bda68e9fc75a01021759ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5var=20Aamb=C3=B8=20Fosstveit?= Date: Tue, 26 Nov 2019 12:44:04 +0100 Subject: [PATCH] Fixed sizing of democratic view --- app/src/components/MeetingViews/Democratic.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/src/components/MeetingViews/Democratic.js b/app/src/components/MeetingViews/Democratic.js index ca735bd..e3a61bb 100644 --- a/app/src/components/MeetingViews/Democratic.js +++ b/app/src/components/MeetingViews/Democratic.js @@ -91,11 +91,11 @@ class Democratic extends React.PureComponent break; } } - if (Math.ceil(this.state.peerWidth) !== Math.ceil(0.9 * x)) + if (Math.ceil(this.state.peerWidth) !== Math.ceil(0.94 * x)) { this.setState({ - peerWidth : 0.95 * x, - peerHeight : 0.95 * y + peerWidth : 0.94 * x, + peerHeight : 0.94 * y }); } }; @@ -160,9 +160,9 @@ class Democratic extends React.PureComponent { return (