From 6f9cc3a44a31ed16106dd9715da4577f2f2f483e Mon Sep 17 00:00:00 2001 From: Iulian Date: Thu, 1 Jun 2017 09:53:58 +0300 Subject: [PATCH 1/2] ui design updates for left sidebar menu bug (#26) --- public/js/admin.js | 3 ++- src/App/templates/partial/menu.html.twig | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/public/js/admin.js b/public/js/admin.js index d0d26dd..3219276 100644 --- a/public/js/admin.js +++ b/public/js/admin.js @@ -26,8 +26,9 @@ $(document).ready(function() { }); // on small devices click on menu item will not open the left sidebar - $(".sideRightIn i, .sideRightIn .submenu").click(function (e) { + $(".sideRightIn .submenu").click(function (e) { e.preventDefault(); + if ($(window).width() > 767) { $(".main-content").addClass("toggled"); $("#sidebar-collapse").addClass("sideRightOut").removeClass("sideRightIn"); diff --git a/src/App/templates/partial/menu.html.twig b/src/App/templates/partial/menu.html.twig index fff1233..bb14847 100644 --- a/src/App/templates/partial/menu.html.twig +++ b/src/App/templates/partial/menu.html.twig @@ -31,13 +31,13 @@ {% endif %} {% else %} {% if depth == 0 %} - +
{{ page.getOption('label') }}
{% else %} - + {{ page.getOption('label') }} {% endif %} From a7b92155c2ae215fde26395a4553e1f37f2293a4 Mon Sep 17 00:00:00 2001 From: n3vrax Date: Thu, 1 Jun 2017 16:34:36 +0300 Subject: [PATCH 2/2] prepare for release --- CHANGELOG.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 583f93a..aa5d253 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,21 @@ +## 0.4.1 - 2017-06-01 + +### Changed +* Nothing + +### Added +* Nothing + +### Deprecated +* Nothing + +### Removed +* Nothing + +### Fixed +* admin side menu glitches described in issue [#24](https://github.com/dotkernel/admin/issues/24) + + ## 0.4.0 - 2017-05-27 ### Changed