Bugfix: 2621 Summmernote is too wide on mobile screen

reviewable/pr2626/r1
Sam X. Chen 6 years ago
parent 7198e6b66e
commit 7d52ae16d5
  1. 2
      client/components/main/editor.js
  2. 3
      client/components/main/layouts.styl

@ -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
});
}
},

@ -425,6 +425,9 @@ a
height: 100%
margin: 0px
.panel-default
width: 83vw
.inline-input
height: 37px
margin: 8px 10px 0 0

Loading…
Cancel
Save