Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
apply overflow property when it is needed
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiefu committed Sep 3, 2014
1 parent 3ca54a0 commit cb1caa5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions core-header-panel.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
right: 0;
bottom: 0;
left: 0;
overflow-y: auto;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
}

#mainPanel {
Expand Down Expand Up @@ -54,6 +51,12 @@ mode: scroll
overflow: visible;
}

:host([mode=scroll]) #outerContainer {
overflow-y: auto;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
}

/*
mode: cover
*/
Expand Down

0 comments on commit cb1caa5

Please sign in to comment.