From 7ba53c302f9cf436a60db8a2ced873484f481b52 Mon Sep 17 00:00:00 2001 From: Gareth Daunton Date: Wed, 22 Jun 2016 13:30:15 -0400 Subject: [PATCH] Fixed dropdown menu item not opening upward --- src/definitions/collections/menu.less | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/definitions/collections/menu.less b/src/definitions/collections/menu.less index a9538b124..a3d31dfc2 100755 --- a/src/definitions/collections/menu.less +++ b/src/definitions/collections/menu.less @@ -296,13 +296,18 @@ margin-left: 1em; } .ui.vertical.menu .dropdown.item .menu { - top: 0% !important; left: 100%; min-width: 0; margin: 0em 0em 0em @dropdownMenuDistance; box-shadow: @dropdownVerticalMenuBoxShadow; border-radius: 0em @dropdownMenuBorderRadius @dropdownMenuBorderRadius @dropdownMenuBorderRadius; } +.ui.vertical.menu .dropdown.item.upward .menu { + bottom: 0; +} +.ui.vertical.menu .dropdown.item:not(.upward) .menu { + top: 0; +} .ui.vertical.menu .active.dropdown.item { border-top-right-radius: 0em; border-bottom-right-radius: 0em;