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; }