Skip to content

Commit f440208

Browse files
committed
Merge branch 'MAGETWO-27300' into PR-bugs
2 parents 9258016 + f5c9f47 commit f440208

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

lib/web/css/source/lib/_navigation.less

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,6 @@
370370
left: 100% !important;
371371
}
372372
.submenu-reverse{
373-
bottom: 0 !important;
374373
left: auto !important;
375374
right: 100%;
376375
}

lib/web/mage/menu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ define([
345345
ulElementWidth = target.find('ul').outerWidth(true);
346346
width = target.outerWidth() * 2;
347347
targetPageX = target.offset().left;
348-
rightBound = screen.width;
348+
rightBound = $(window).width();
349349

350350
if ((ulElementWidth + width + targetPageX) > rightBound) {
351351
ulElement.addClass('submenu-reverse');

0 commit comments

Comments
 (0)