summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/base/common
diff options
context:
space:
mode:
authorSergey Budkin <sergey@vaadin.com>2014-10-03 12:25:37 +0300
committerMarkus Koivisto <markus@vaadin.com>2014-10-14 18:05:19 +0300
commitf98238e03b5c4fca857cdae7cb6261458f7b0d1d (patch)
tree5c5d78f98a59c8f69ea47e32a092e353bd71ab2c /WebContent/VAADIN/themes/base/common
parentcf0682ab3b5346138659c572b074f09455a15638 (diff)
downloadvaadin-framework-f98238e03b5c4fca857cdae7cb6261458f7b0d1d.tar.gz
vaadin-framework-f98238e03b5c4fca857cdae7cb6261458f7b0d1d.zip
Incorrect rendering of Panel with undefined size in Firefox (#14631).
Copied the fix from Valo. Change-Id: I677fc4cfb65a57211fd82d994d75743fd49a83a2
Diffstat (limited to 'WebContent/VAADIN/themes/base/common')
-rw-r--r--WebContent/VAADIN/themes/base/common/common.scss12
1 files changed, 12 insertions, 0 deletions
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;