Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(layout): Set the initial height to inherit the parent.
Browse files Browse the repository at this point in the history
In some cases, browsers have issues with rendering flex layouts
when the height of an element is not set. This simply forces each
layout element (which is the most common case when using flex) to
the height it would normally be.

Fixes #4022. References #3901.
  • Loading branch information
topherfangio committed Aug 31, 2015
1 parent 1e6d166 commit c73ceef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions src/components/button/demoBasicUsage/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,3 @@ section .md-button {
font-size: 14px;
opacity: 0.54;
}

.launch {
padding-top:12px;
}
1 change: 1 addition & 0 deletions src/core/services/layout/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
display: -moz-flex;
display: -ms-flexbox;
display: flex;
height: inherit;
}

.layout-column {
Expand Down

0 comments on commit c73ceef

Please sign in to comment.