Browse Source

Fix border radius on last inline-flex item

pull/2300/head
jlukic 9 years ago
parent
commit
ce76685fc0
1 changed files with 9 additions and 1 deletions
  1. 10
      src/definitions/collections/menu.less

10
src/definitions/collections/menu.less

@ -81,7 +81,6 @@
vertical-align: middle; vertical-align: middle;
line-height: 1; line-height: 1;
text-decoration: none; text-decoration: none;
box-sizing: border-box;
-webkit-tap-highlight-color: transparent; -webkit-tap-highlight-color: transparent;
user-select: none; user-select: none;
@ -669,6 +668,12 @@ Floated Menu / Item
display: inline-flex; display: inline-flex;
vertical-align: middle; vertical-align: middle;
} }
.ui.pagination.menu .item:last-child {
border-radius: 0em @borderRadius @borderRadius 0em;
}
.ui.compact.menu .item:last-child {
border-radius: 0em @borderRadius @borderRadius 0em;
}
.ui.pagination.menu .item:last-child:before { .ui.pagination.menu .item:last-child:before {
display: none; display: none;
} }
@ -1436,6 +1441,9 @@ Floated Menu / Item
margin: 0em; margin: 0em;
vertical-align: middle; vertical-align: middle;
} }
.ui.compact.menu .item:last-child {
border-radius: 0em @borderRadius @borderRadius 0em;
}
.ui.compact.menu .item:last-child:before { .ui.compact.menu .item:last-child:before {
display: none; display: none;
} }

Loading…
Cancel
Save