Skip to content

Commit

Permalink
Set site height as min-height and move required IE hack to specific m…
Browse files Browse the repository at this point in the history
…edia rule.
  • Loading branch information
crishpeen committed Sep 7, 2016
1 parent d5381b7 commit 13fe2dc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/less/components/layout/site.less
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,13 @@ Styleguide 2.6
.site {
display: flex;
flex-direction: column;
height: 100%; /* 1, 3 */
min-height: 100%; /* 3 */
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
.site {
height: 100%; /* 1, 3 */
}
}

.site-header,
Expand Down

0 comments on commit 13fe2dc

Please sign in to comment.