From 16531356350d4bd53d3db044303be954d38776a7 Mon Sep 17 00:00:00 2001 From: jlukic Date: Wed, 20 May 2015 18:50:00 -0400 Subject: [PATCH] Fix secondary pointing 'right item' --- src/definitions/collections/menu.less | 6 +++--- src/themes/default/collections/menu.variables | 7 +++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/definitions/collections/menu.less b/src/definitions/collections/menu.less index f72c7b260..368a3732f 100755 --- a/src/definitions/collections/menu.less +++ b/src/definitions/collections/menu.less @@ -460,13 +460,13 @@ Floated Menu / Item .ui.menu:not(.vertical) .item.left, .ui.menu:not(.vertical) .menu.left { display: flex; - margin-right: auto; + margin-right: auto !important; } /* Right Floated */ .ui.menu:not(.vertical) .item.right, .ui.menu:not(.vertical) .menu.right { display: flex; - margin-left: auto; + margin-left: auto !important; } /* Floated Borders */ @@ -818,7 +818,7 @@ Floated Menu / Item border-radius: 0em; align-self: flex-end; - margin: @secondaryPointingItemMargin; + margin-bottom: -@secondaryPointingBorderWidth; padding: @secondaryPointingItemVerticalPadding @secondaryPointingItemHorizontalPadding; border-bottom-width: @secondaryPointingBorderWidth; transition: @secondaryItemTransition; diff --git a/src/themes/default/collections/menu.variables b/src/themes/default/collections/menu.variables index d06269054..5bd78ae29 100644 --- a/src/themes/default/collections/menu.variables +++ b/src/themes/default/collections/menu.variables @@ -105,14 +105,14 @@ /* Button */ @buttonSize: @relativeMedium; @buttonOffset: 0em; -@buttonMargin: -0.4em 0em; -@buttonVerticalPadding: 0.6em; +@buttonMargin: -0.5em 0em; +@buttonVerticalPadding: @relativeMini; /* Input */ @inputSize: @relativeMedium; @inputVerticalMargin: -0.5em; @inputOffset: 0em; -@inputVerticalPadding: 0.5em; +@inputVerticalPadding: 0.57142em; /* Image */ @imageMargin: -0.3em 0em; @@ -242,7 +242,6 @@ /* Pointing */ @secondaryPointingBorderWidth: 2px; @secondaryPointingBorderColor: @borderColor; -@secondaryPointingItemMargin: 0em 0em -@secondaryPointingBorderWidth; @secondaryPointingItemVerticalPadding: @relativeTiny; @secondaryPointingItemHorizontalPadding: @relativeMedium;