Skip to content

Commit bb1597b

Browse files
authored
Merge pull request #29 from dotkernel/develop
Develop
2 parents 6ffe0db + a7b9215 commit bb1597b

File tree

3 files changed

+22
-3
lines changed

3 files changed

+22
-3
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
## 0.4.1 - 2017-06-01
2+
3+
### Changed
4+
* Nothing
5+
6+
### Added
7+
* Nothing
8+
9+
### Deprecated
10+
* Nothing
11+
12+
### Removed
13+
* Nothing
14+
15+
### Fixed
16+
* admin side menu glitches described in issue [#24](https://github.com/dotkernel/admin/issues/24)
17+
18+
119
## 0.4.0 - 2017-05-27
220

321
### Changed

public/js/admin.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ $(document).ready(function() {
2626
});
2727

2828
// on small devices click on menu item will not open the left sidebar
29-
$(".sideRightIn i, .sideRightIn .submenu").click(function (e) {
29+
$(".sideRightIn .submenu").click(function (e) {
3030
e.preventDefault();
31+
3132
if ($(window).width() > 767) {
3233
$(".main-content").addClass("toggled");
3334
$("#sidebar-collapse").addClass("sideRightOut").removeClass("sideRightIn");

src/App/templates/partial/menu.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@
3131
{% endif %}
3232
{% else %}
3333
{% if depth == 0 %}
34-
<i class="{{ page.getOption('icon') }} master-tooltip" title="{{ page.getOption('label') }}"></i>
3534
<a class="master-tooltip clearfix" href="{{ navigation.getHref(page) }}" {% autoescape false %}{{ pageAttributes(page) ~ extraAttributes }}{% endautoescape %} title="{{ page.getOption('label') }}">
35+
<i class="{{ page.getOption('icon') }} master-tooltip" title="{{ page.getOption('label') }}"></i>
3636
<div class="item-label">{{ page.getOption('label') }}</div>
3737
</a>
3838
{% else %}
39-
<i class="{{ page.getOption('icon') }}"></i>
4039
<a class="clearfix" href="{{ navigation.getHref(page) }}" {% autoescape false %}{{ pageAttributes(page) ~ extraAttributes }}{% endautoescape %} >
40+
<i class="{{ page.getOption('icon') }}"></i>
4141
{{ page.getOption('label') }}
4242
</a>
4343
{% endif %}

0 commit comments

Comments
 (0)