Browse Source

Fixes #2359, attached menu should not remove margin unless no direction specified

pull/1906/merge
jlukic 9 years ago
parent
commit
7316d11281
1 changed files with 8 additions and 2 deletions
  1. 10
      src/definitions/collections/menu.less

10
src/definitions/collections/menu.less

@ -1718,18 +1718,24 @@ Floated Menu / Item
Attached
---------------*/
.ui.menu.attached {
margin: 0rem;
.ui.attached.menu {
border-radius: 0px;
margin-left: -@borderWidth;
margin-right: -@borderWidth;
width: @attachedWidth;
box-shadow: @attachedBoxShadow; /* avoid rgba multiplying */
}
.ui.attached.menu:not(.top):not(.bottom) {
margin: 0rem;
}
.ui.top.attached.menu {
margin-bottom: 0em;
border-radius: @borderRadius @borderRadius 0em 0em;
}
.ui.bottom.attached.menu {
margin-top: 0em;
border-top: none;
border-radius: 0em 0em @borderRadius @borderRadius;
}

Loading…
Cancel
Save