From ba4748514ed541e2c17d6111c749d30089d31a8d Mon Sep 17 00:00:00 2001 From: jlukic Date: Wed, 8 Oct 2014 23:51:59 -0400 Subject: [PATCH] Fix top border on icon header --- src/definitions/elements/header.less | 4 ++++ src/themes/packages/default/elements/header.variables | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/src/definitions/elements/header.less b/src/definitions/elements/header.less index 10f997eb0..4e0104e0d 100755 --- a/src/definitions/elements/header.less +++ b/src/definitions/elements/header.less @@ -147,6 +147,10 @@ h5.ui.header { .ui.icon.header { display: block; text-align: center; + margin: @iconHeaderTopMargin 0em @iconHeaderBottomMargin; +} +.ui.icon.header:first-child { + margin-top: @iconHeaderFirstMargin; } .ui.icon.header .icon { float: none; diff --git a/src/themes/packages/default/elements/header.variables b/src/themes/packages/default/elements/header.variables index d0dc83c3c..544e2f405 100755 --- a/src/themes/packages/default/elements/header.variables +++ b/src/themes/packages/default/elements/header.variables @@ -68,6 +68,11 @@ @circularHeaderIconSize: 2em; @squareHeaderIconSize: 2em; +/* No Line Height Offset */ +@iconHeaderTopMargin: 2rem; +@iconHeaderBottomMargin: @bottomMargin; +@iconHeaderFirstMargin: 0em; + /* Divided */ @dividedBorder: 1px solid rgba(0, 0, 0, 0.1); @dividedColoredBorderWidth: 2px;