From 6d486888a6961ee7fd38261758df2ab038c61e6c Mon Sep 17 00:00:00 2001 From: Jack Lukic Date: Sun, 21 Jun 2015 18:05:17 -0400 Subject: [PATCH] Fix header inheritance in modal --- src/definitions/modules/modal.less | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/definitions/modules/modal.less b/src/definitions/modules/modal.less index f5c3606d4..9ac13ca85 100755 --- a/src/definitions/modules/modal.less +++ b/src/definitions/modules/modal.less @@ -92,11 +92,13 @@ padding: @headerPadding; box-shadow: @headerBoxShadow; + color: @headerColor; + border-bottom: @headerBorder; +} +.ui.modal > .header:not(.ui) { font-size: @headerFontSize; line-height: @headerLineHeight; font-weight: @headerFontWeight; - color: @headerColor; - border-bottom: @headerBorder; } /*-------------- @@ -408,7 +410,7 @@ } /* Small */ -.ui.small.modal > .header { +.ui.small.modal > .header:not(.ui) { font-size: @smallHeaderSize; }