From cdcb13d423aa2cda689eba2f0e036d8b8565c79c Mon Sep 17 00:00:00 2001 From: jlukic Date: Wed, 17 Jun 2015 19:00:11 -0400 Subject: [PATCH] Fix issues with attached tabular with changes to segment --- src/definitions/collections/menu.less | 13 +++++++++---- src/themes/default/collections/menu.variables | 2 +- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/definitions/collections/menu.less b/src/definitions/collections/menu.less index b25e5b074..992cbb8c4 100755 --- a/src/definitions/collections/menu.less +++ b/src/definitions/collections/menu.less @@ -642,7 +642,7 @@ Floated Menu / Item font-weight: @tabularActiveWeight; margin-bottom: -@tabularBorderWidth; box-shadow: @tabularActiveBoxShadow; - border-radius: @tabularBorderRadius @tabularBorderRadius 0px 0px; + border-radius: @tabularBorderRadius @tabularBorderRadius 0px 0px !important; } /* Coupling with segment for attachment */ @@ -650,6 +650,7 @@ Floated Menu / Item .ui.tabular.menu ~ .bottom.attached.segment + .bottom.attached.segment { border-top: none; margin: 0px; + width: 100%; } /* Vertical Tabular */ @@ -806,9 +807,13 @@ Floated Menu / Item color: @secondaryInvertedActiveColor !important; } -/* Disable variations */ -.ui.secondary.item.menu .item { - margin: 0em; +/* Fix item margins */ +.ui.secondary.item.menu { + margin-left: 0em; + margin-right: 0em; +} +.ui.secondary.item.menu .item:last-child { + margin-right: 0em; } .ui.secondary.attached.menu { box-shadow: none; diff --git a/src/themes/default/collections/menu.variables b/src/themes/default/collections/menu.variables index cccc4eb0d..1cad81095 100644 --- a/src/themes/default/collections/menu.variables +++ b/src/themes/default/collections/menu.variables @@ -322,7 +322,7 @@ @tabularMenuActiveColor: @selectedTextColor; @tabularActiveWeight: bold; -@tabularBorderRadius: 5px; +@tabularBorderRadius: 0.35714rem; /* Pagination */