Przeglądaj źródła

Bugfix: 2621 Summmernote is too wide on mobile screen

Sam X. Chen 5 lat temu
rodzic
commit
7d52ae16d5

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

+ 3 - 0
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