aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <teemusa@vaadin.com>2014-01-17 10:06:09 +0200
committerJohannes Dahlström <johannesd@vaadin.com>2014-01-20 11:54:32 +0000
commit1d1ccf41991856b2065da335e434f95e5161843d (patch)
tree37c9469d2f4ddc6383dfa480c4e0b2b3c9b2b907
parentf93c870fe9d7c6cd01892c97d5a9c799e079fa4e (diff)
downloadvaadin-framework-1d1ccf41991856b2065da335e434f95e5161843d.tar.gz
vaadin-framework-1d1ccf41991856b2065da335e434f95e5161843d.zip
Fix Firefox and Vaadin 7 scroll distance (#11353)
Change-Id: I01be5ddfe0e266e4cb5b7e9872adaeaf0f745a84
-rw-r--r--WebContent/VAADIN/themes/base/common/common.scss4
1 files changed, 4 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/base/common/common.scss b/WebContent/VAADIN/themes/base/common/common.scss
index 07e244a76f..5cae1b26ce 100644
--- a/WebContent/VAADIN/themes/base/common/common.scss
+++ b/WebContent/VAADIN/themes/base/common/common.scss
@@ -227,6 +227,10 @@ input::-ms-clear {
font-size: 0;
line-height: normal;
}
+/* Set font-size in order to make Firefox scrolling better #11353 */
+.v-ff & .v-scrollable {
+ font-size: $font-size;
+}
.v-ios.v-webkit & .v-scrollable {
-webkit-overflow-scrolling: touch;
}