From 7d52ae16d526602e8a01c6bf8157396cb1c7afe8 Mon Sep 17 00:00:00 2001 From: "Sam X. Chen" Date: Thu, 15 Aug 2019 14:23:14 -0400 Subject: Bugfix: 2621 Summmernote is too wide on mobile screen --- client/components/main/editor.js | 2 +- client/components/main/layouts.styl | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/client/components/main/editor.js b/client/components/main/editor.js index 82bda0a3..91403086 100755 --- a/client/components/main/editor.js +++ b/client/components/main/editor.js @@ -180,7 +180,7 @@ Template.editor.onRendered(() => { fBtn.on('click', function() { const $this = $(this), isActive = $this.hasClass('active'); - $('.minicards').toggle(!isActive); // mini card is still showing when editor is in fullscreen mode, we hide here manually + $('.minicards,#header-quick-access').toggle(!isActive); // mini card is still showing when editor is in fullscreen mode, we hide here manually }); } }, diff --git a/client/components/main/layouts.styl b/client/components/main/layouts.styl index 06538554..0955a352 100644 --- a/client/components/main/layouts.styl +++ b/client/components/main/layouts.styl @@ -425,6 +425,9 @@ a height: 100% margin: 0px + .panel-default + width: 83vw + .inline-input height: 37px margin: 8px 10px 0 0 -- cgit v1.2.3-1-g7c22 From 86d686fe1d008835b9db07e93cbe434ce34eb659 Mon Sep 17 00:00:00 2001 From: "Sam X. Chen" Date: Thu, 15 Aug 2019 14:28:18 -0400 Subject: Bugfix: 2621 --- server/statistics.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/server/statistics.js b/server/statistics.js index 288a5089..997fd86f 100644 --- a/server/statistics.js +++ b/server/statistics.js @@ -22,7 +22,7 @@ Meteor.methods({ let nodeVersion = process.version; nodeVersion = nodeVersion.replace('v', ''); statistics.process = { - nodeVersion: nodeVersion, + nodeVersion, pid: process.pid, uptime: process.uptime(), }; @@ -30,7 +30,7 @@ Meteor.methods({ let meteorVersion = Meteor.release; meteorVersion = meteorVersion.replace('METEOR@', ''); statistics.meteor = { - meteorVersion: meteorVersion, + meteorVersion, }; // Thanks to RocketChat for MongoDB version detection ! // https://github.com/RocketChat/Rocket.Chat/blob/develop/app/utils/server/functions/getMongoInfo.js @@ -59,9 +59,9 @@ Meteor.methods({ } } statistics.mongo = { - mongoVersion: mongoVersion, - mongoStorageEngine: mongoStorageEngine, - mongoOplogEnabled: mongoOplogEnabled, + mongoVersion, + mongoStorageEngine, + mongoOplogEnabled, }; return statistics; }, -- cgit v1.2.3-1-g7c22