File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 27
27
isActive,
28
28
} ;
29
29
} ) ;
30
+ const { resizerWidth } = secondLevelMenuNode . dataset ;
30
31
let resizeStartPositionX = 0 ;
31
32
let secondMenuLevelCurrentWidth = secondLevelMenuNode . getBoundingClientRect ( ) . width ;
32
33
const collapseSecondLevelMenu = ( event ) => {
64
65
return ;
65
66
}
66
67
67
- const secondLevelMenuListWidth = secondLevelMenuWidth ;
68
+ const secondLevelMenuListWidth = secondLevelMenuWidth - resizerWidth ;
68
69
69
70
secondLevelMenuNode . style . width = `${ secondLevelMenuWidth } px` ;
70
71
secondLevelMenuNode . querySelectorAll ( '.ibexa-main-menu__tab-pane .ibexa-main-menu__items-list' ) . forEach ( ( itemList ) => {
Original file line number Diff line number Diff line change 82
82
83
83
.ibexa-main-menu {
84
84
& __items-list {
85
- width : calculateRem (216 px );
85
+ width : calculateRem (210 px );
86
86
transition : width $ibexa-admin-transition-duration ;
87
87
padding-top : calculateRem (8px );
88
88
}
Original file line number Diff line number Diff line change 25
25
{% endif %}
26
26
{% endif %}
27
27
28
- <div class =" ibexa-main-menu__navbar ibexa-main-menu__navbar--second-level {{ extra_class }}" style =" {{ second_menu_width_style }}" >
28
+ <div
29
+ class =" ibexa-main-menu__navbar ibexa-main-menu__navbar--second-level {{ extra_class }}"
30
+ style =" {{ second_menu_width_style }}"
31
+ data-resizer-width =" {{ resizer_width }}"
32
+ >
29
33
<div class =" tab-content ibexa-main-menu__tab-content" >
30
34
{% for child in current_item .children %}
31
35
<div
You can’t perform that action at this time.
0 commit comments