]> wagnertech.de Git - kivitendo-erp.git/commitdiff
ActionBar: Scrolling von ausgeklapptem HTML Menü gefixt
authorSven Schöling <s.schoeling@linet-services.de>
Mon, 20 Mar 2017 12:44:31 +0000 (13:44 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Mon, 20 Mar 2017 13:18:04 +0000 (14:18 +0100)
SL/Layout/MenuLeft.pm
css/kivitendo/menu.css
css/lx-office-erp/menu.css

index 25119fed2265611f889e56db40d038ae35ac8b9e..054757ffb0797bd7b14f30b25861540c51dc56d6 100644 (file)
@@ -26,7 +26,7 @@ sub javascripts {
 }
 
 sub pre_content {
-  "<div id='html-menu'></div>\n";
+  "<div id='html-menu-container'><div id='html-menu'></div></div>\n";
 }
 
 sub section_menu {
index ccab8420df4446a837b3c5ca2d66f7c5c6550407..64b7882f5f5418f80185fcd59235a90fe807dbd3 100644 (file)
@@ -175,7 +175,15 @@ li.sub {
    each line is a mi (menuitem) and has one mii (menu-item-icon) whcih is ms (menu-spacer)
    and one mic (menu-item-chunk)
    indenting is done with the levels s0, s1, s2 */
-div.layout-split-left, #html-menu {
+#html-menu-container {
+  position: fixed;
+  bottom: 0%;
+  top: 0%;
+}
+
+#html-menu {
+  overflow-y: scroll;
+  height: 100%;
   transition:         margin-left 0.2s, width 0.2s;
   -moz-transition:    margin-left 0.2s, width 0.2s;
   -webkit-transition: margin-left 0.2s, width 0.2s;
index 4324647f3dbfae1af1ace17e9a8b809a8a81bbd9..ec7d6f2ffffc60e87655bb50f3c5fb154d0e240c 100644 (file)
@@ -177,8 +177,15 @@ div#menuv3 li li li li:hover ul
    each line is a mi (menuitem) and has one mii (menu-item-icon) whcih is ms (menu-spacer)
    and one mic (menu-item-chunk)
    indenting is done with the levels s0, s1, s2 */
-div.html-menu, #html-menu {
+#html-menu-container {
   position: fixed;
+  bottom: 0%;
+  top: 0%;
+}
+
+#html-menu {
+  overflow-y: scroll;
+  height: 100%;
   transition:         margin-left 0.2s, width 0.2s;
   -moz-transition:    margin-left 0.2s, width 0.2s;
   -webkit-transition: margin-left 0.2s, width 0.2s;