Skip to content

Commit

Permalink
fix(menu): correct submenu fix which broke right menus
Browse files Browse the repository at this point in the history
The Fix of #632 was correctly implemented by the given jsfiddle. However in the PR itself the change was done differently (similiar to left menu...but this was also wrong already).
Unfortunately the change now leads to break normal existing right menu elements

This PR reverts the change by #632 but adds the fix out of the jsfiddle which was given by #632 ,so it' still @douglasg14b who found a fix for the main problem 😄
  • Loading branch information
lubber-de authored and Sean committed May 9, 2019
1 parent 0aab16f commit af98873
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/definitions/collections/menu.less
Original file line number Diff line number Diff line change
Expand Up @@ -477,16 +477,22 @@ Floated Menu / Item

/* Left Floated */
.ui.menu:not(.vertical) .left.item,
.ui.menu:not(.vertical) :not(.dropdown) > .left.menu {
.ui.menu:not(.vertical) .left.menu {
display: flex;
margin-right: auto !important;
}
/* Right Floated */
.ui.menu:not(.vertical) .right.item,
.ui.menu:not(.vertical) :not(.dropdown) > .right.menu {
.ui.menu:not(.vertical) .right.menu {
display: flex;
margin-left: auto !important;
}

.ui.menu:not(.vertical) :not(.dropdown) > .left.menu,
.ui.menu:not(.vertical) :not(.dropdown) > .right.menu {
display: inherit;
}

/* Center */
.ui.menu:not(.vertical) .center.item,
.ui.menu:not(.vertical) .center.menu {
Expand Down

0 comments on commit af98873

Please sign in to comment.