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 2727 isActive,
2828 } ;
2929 } ) ;
30+ const { resizerWidth } = secondLevelMenuNode . dataset ;
3031 let resizeStartPositionX = 0 ;
3132 let secondMenuLevelCurrentWidth = secondLevelMenuNode . getBoundingClientRect ( ) . width ;
3233 const collapseSecondLevelMenu = ( event ) => {
6465 return ;
6566 }
6667
67- const secondLevelMenuListWidth = secondLevelMenuWidth ;
68+ const secondLevelMenuListWidth = secondLevelMenuWidth - resizerWidth ;
6869
6970 secondLevelMenuNode . style . width = `${ secondLevelMenuWidth } px` ;
7071 secondLevelMenuNode . querySelectorAll ( '.ibexa-main-menu__tab-pane .ibexa-main-menu__items-list' ) . forEach ( ( itemList ) => {
Original file line number Diff line number Diff line change 8282
8383 .ibexa-main-menu {
8484 & __items-list {
85- width : calculateRem (216 px );
85+ width : calculateRem (210 px );
8686 transition : width $ibexa-admin-transition-duration ;
8787 padding-top : calculateRem (8px );
8888 }
Original file line number Diff line number Diff line change 2525 {% endif %}
2626 {% endif %}
2727
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+ >
2933 <div class =" tab-content ibexa-main-menu__tab-content" >
3034 {% for child in current_item .children %}
3135 <div
You can’t perform that action at this time.
0 commit comments