Skip to content

Commit

Permalink
[fixed] scrollable container height on legacy flexbox browsers like A…
Browse files Browse the repository at this point in the history
…ndroid UC
  • Loading branch information
minwe committed May 18, 2016
1 parent 73df9f8 commit 992df1f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/scss/components/_container.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
flex: 1 1 0;
position: relative;
}

}

.#{$container-prefix}-column {
Expand All @@ -58,7 +57,7 @@
}

// Handle alignment of containers' children

// -----------------------------------------------------------------------------
.#{$container-prefix}-align-end {
align-items: flex-end;
}
Expand All @@ -77,7 +76,7 @@
}

// Handle justification of containers' children

// -----------------------------------------------------------------------------
.#{$container-prefix}-justified {
justify-content: space-around;
}
Expand All @@ -95,7 +94,7 @@
}

// Scrollable containers

// -----------------------------------------------------------------------------
.#{$container-prefix}-scrollable {
// position: relative;
max-height: 100%;
Expand Down
4 changes: 4 additions & 0 deletions src/scss/components/_view.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@

backface-visibility: hidden;
// transform: translateZ(0);

& > .#{$container-prefix} {
flex: 1 1 0;
}
}

// Animations
Expand Down

0 comments on commit 992df1f

Please sign in to comment.