Alex Trofimov hace 7 años
padre
commit
9949ce85a8
Se han modificado 2 ficheros con 12 adiciones y 2 borrados
  1. 5 1
      template/mobile_apps_js.html
  2. 7 1
      template/mobile_apps_styles.html

+ 5 - 1
template/mobile_apps_js.html

@@ -19,7 +19,11 @@
             window.history.go(-(window.history.length - 1));
     }
 
-    console.log('Navigation History:' + window.history.length);
+    function bx_mobile_apps_close_sliding_menus () {
+        if ($('.bx-sliding-menu-main:visible').size()) // hide sliding menu if they are open
+            bx_menu_slide_inline('.bx-sliding-menu-main');
+    }
+
     var sMsg = JSON.stringify(__msg__);
     console.log(sMsg);
     if ('undefined' !== typeof(window.ReactNativeWebView))

+ 7 - 1
template/mobile_apps_styles.html

@@ -1,6 +1,12 @@
 <style>
 html #bx-toolbar {
-    height:0 !important;
+    height:0 !important;    
+}
+html .bx-header {
+    border-bottom-width: 0 !important;
+}
+html .bx-shadow-header {
+    box-shadow: none;
 }
 html .bx-menu-toolbar-padding {
     padding-top:0 !important;