From f98238e03b5c4fca857cdae7cb6261458f7b0d1d Mon Sep 17 00:00:00 2001 From: Sergey Budkin Date: Fri, 3 Oct 2014 12:25:37 +0300 Subject: Incorrect rendering of Panel with undefined size in Firefox (#14631). Copied the fix from Valo. Change-Id: I677fc4cfb65a57211fd82d994d75743fd49a83a2 --- WebContent/VAADIN/themes/base/common/common.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'WebContent/VAADIN/themes/base/common') diff --git a/WebContent/VAADIN/themes/base/common/common.scss b/WebContent/VAADIN/themes/base/common/common.scss index 2f03561c0b..ea8b5e5aa0 100644 --- a/WebContent/VAADIN/themes/base/common/common.scss +++ b/WebContent/VAADIN/themes/base/common/common.scss @@ -259,6 +259,18 @@ input::-ms-clear { -webkit-overflow-scrolling: none; } +/* "Unnecessary scrollbar" related fixes (#14631, copied from Valo) */ +.v-scrollable.v-panel-content > .v-widget { + /* This is needed for IE */ + vertical-align: middle; + + /* Needed for all browsers. Can't really show anything outside the + * scrolling area anyway, so we can safely hide any overflow */ + overflow: hidden; +} + + + &.v-overlay-container { width: 0; height: 0; -- cgit v1.2.3