diff options
author | Henrik Paul <henrik@vaadin.com> | 2013-11-21 16:52:32 +0200 |
---|---|---|
committer | Henrik Paul <henrik@vaadin.com> | 2013-11-21 16:54:53 +0200 |
commit | c2d38fa6c2d67457065fd3dce7e0d939ae0a1278 (patch) | |
tree | 88bca7fb1008a3ce5c36d7f8ba9e0f1da894e48f /WebContent/VAADIN | |
parent | c2b988781045d1e6723b8159ca34d6c0afcdcde8 (diff) | |
download | vaadin-framework-c2d38fa6c2d67457065fd3dce7e0d939ae0a1278.tar.gz vaadin-framework-c2d38fa6c2d67457065fd3dce7e0d939ae0a1278.zip |
Support OSX's hiding scrollbars (#12645)
Change-Id: If5df6a7651482a33558088398330fd73a4d43645
Diffstat (limited to 'WebContent/VAADIN')
-rw-r--r-- | WebContent/VAADIN/themes/base/escalator/escalator.scss | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/WebContent/VAADIN/themes/base/escalator/escalator.scss b/WebContent/VAADIN/themes/base/escalator/escalator.scss index 436f849456..8136f23df6 100644 --- a/WebContent/VAADIN/themes/base/escalator/escalator.scss +++ b/WebContent/VAADIN/themes/base/escalator/escalator.scss @@ -11,9 +11,23 @@ $border-color: #aaa; .#{$primaryStyleName}-scroller { position: absolute; overflow: auto; - height: inherit; + z-index: 20; +} + +.#{$primaryStyleName}-scroller-horizontal { left: 0; /* Left position adjusted to align with frozen columns */ right: 0; + bottom: 0; + overflow-y: hidden; + -ms-overflow-y: hidden; +} + +.#{$primaryStyleName}-scroller-vertical { + right: 0; + top: 0; /* this will be overridden by code, but it's a good default behavior */ + bottom: 0; /* this will be overridden by code, but it's a good default behavior */ + overflow-x: hidden; + -ms-overflow-x: hidden; } .#{$primaryStyleName}-tablewrapper { |