Browse Source

Fix header inheritance in modal

flex-list
Jack Lukic 9 years ago
parent
commit
6d486888a6
1 changed files with 5 additions and 3 deletions
  1. 8
      src/definitions/modules/modal.less

8
src/definitions/modules/modal.less

@ -92,11 +92,13 @@
padding: @headerPadding; padding: @headerPadding;
box-shadow: @headerBoxShadow; box-shadow: @headerBoxShadow;
color: @headerColor;
border-bottom: @headerBorder;
}
.ui.modal > .header:not(.ui) {
font-size: @headerFontSize; font-size: @headerFontSize;
line-height: @headerLineHeight; line-height: @headerLineHeight;
font-weight: @headerFontWeight; font-weight: @headerFontWeight;
color: @headerColor;
border-bottom: @headerBorder;
} }
/*-------------- /*--------------
@ -408,7 +410,7 @@
} }
/* Small */ /* Small */
.ui.small.modal > .header {
.ui.small.modal > .header:not(.ui) {
font-size: @smallHeaderSize; font-size: @smallHeaderSize;
} }

Loading…
Cancel
Save