From: Teemu Suo-Anttila Date: Fri, 17 Jan 2014 08:06:09 +0000 (+0200) Subject: Fix Firefox and Vaadin 7 scroll distance (#11353) X-Git-Tag: 7.1.11~16 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1d1ccf4;p=vaadin-framework.git Fix Firefox and Vaadin 7 scroll distance (#11353) Change-Id: I01be5ddfe0e266e4cb5b7e9872adaeaf0f745a84 --- 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; }