File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed
astroid/astroid-template-zero Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 2424 _indicatorBackItem . append ( _indicatorBack ) ;
2525
2626 // Add Button For Toggle Sub Menu
27- $ ( this ) . children ( 'a' ) . after ( _indicator ) ;
27+ if ( $ ( this ) . children ( 'a' ) . length ) {
28+ $ ( this ) . children ( 'a' ) . after ( _indicator ) ;
29+ } else {
30+ $ ( this ) . children ( 'span' ) . after ( _indicator ) ;
31+ }
2832 // For Sub menu Open
2933 _indicator . bind ( 'click' , function ( ) {
3034 $ ( this ) . next ( '.dropdown-menus' ) . toggleClass ( 'menu_open' ) ;
Original file line number Diff line number Diff line change @@ -43,6 +43,16 @@ $burger-layer-width: 30px !default;
4343 color : $black ;
4444 padding : 15px 15px ;
4545 }
46+ .menu-item span .separator ,.menu-item span .nav-header {
47+ cursor : pointer ;
48+ outline : 0 ;
49+ width : 80% ;
50+ text-decoration : none ;
51+ vertical-align : middle ;
52+ display : table-cell ;
53+ color : $black ;
54+ padding : 15px 15px ;
55+ }
4656 .menu-item .menu-indicator {
4757 width : 20% ;
4858 text-align : center ;
@@ -54,7 +64,7 @@ $burger-layer-width: 30px !default;
5464 .dropdown-menus {
5565 position : fixed ;
5666 left : -100% ;
57- top : 60 px ;
67+ top : 30 px ;
5868 width : 100% ;
5969 height : 100vh ;
6070 transition : all 0.5s ;
You can’t perform that action at this time.
0 commit comments