Explorar el Código

Bugfix: 2621 Summmernote is too wide on mobile screen

Sam X. Chen hace 5 años
padre
commit
7d52ae16d5
Se han modificado 2 ficheros con 4 adiciones y 1 borrados
  1. 1 1
      client/components/main/editor.js
  2. 3 0
      client/components/main/layouts.styl

+ 1 - 1
client/components/main/editor.js

@@ -180,7 +180,7 @@ Template.editor.onRendered(() => {
                 fBtn.on('click', function() {
                 fBtn.on('click', function() {
                   const $this = $(this),
                   const $this = $(this),
                     isActive = $this.hasClass('active');
                     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%
     height: 100%
     margin: 0px
     margin: 0px
 
 
+  .panel-default
+    width: 83vw
+
 .inline-input
 .inline-input
   height: 37px
   height: 37px
   margin: 8px 10px 0 0
   margin: 8px 10px 0 0