From ce76685fc066ea4cc3302b51eabe3692bdf2e1df Mon Sep 17 00:00:00 2001 From: jlukic Date: Fri, 22 May 2015 16:33:37 -0400 Subject: [PATCH] Fix border radius on last inline-flex item --- src/definitions/collections/menu.less | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/definitions/collections/menu.less b/src/definitions/collections/menu.less index 864131262..321276a50 100755 --- a/src/definitions/collections/menu.less +++ b/src/definitions/collections/menu.less @@ -81,7 +81,6 @@ vertical-align: middle; line-height: 1; text-decoration: none; - box-sizing: border-box; -webkit-tap-highlight-color: transparent; user-select: none; @@ -669,6 +668,12 @@ Floated Menu / Item display: inline-flex; 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 { display: none; } @@ -1436,6 +1441,9 @@ Floated Menu / Item margin: 0em; vertical-align: middle; } +.ui.compact.menu .item:last-child { + border-radius: 0em @borderRadius @borderRadius 0em; +} .ui.compact.menu .item:last-child:before { display: none; }