From ca22b194e4b768944e88b231c9a8674dd372d470 Mon Sep 17 00:00:00 2001 From: John Ahlroos Date: Thu, 4 Oct 2012 14:12:38 +0300 Subject: [PATCH] Added IE8 HTML5 doctype fix for removing unneeded scrollbars in splitpanel #9552 Change-Id: I2d9abc2add60809412a8625d4b4753aca408c7cd --- .../VAADIN/themes/base/splitpanel/splitpanel.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/WebContent/VAADIN/themes/base/splitpanel/splitpanel.scss b/WebContent/VAADIN/themes/base/splitpanel/splitpanel.scss index 2c3e578b0b..b22ebe2569 100644 --- a/WebContent/VAADIN/themes/base/splitpanel/splitpanel.scss +++ b/WebContent/VAADIN/themes/base/splitpanel/splitpanel.scss @@ -32,4 +32,14 @@ cursor: default; } +/* + * In IE8 we need to do magic things to avoid scrollbars since it does not completely + * support the HTML5 doctype. Changing the contained element to a block element will not add + * magical bottom paddings to the contained element and cause scrollbars. + */ +.v-ie8 .v-splitpanel-first-container > .v-widget, +.v-ie8 .v-splitpanel-second-container > .v-widget{ + display:block; +} + } \ No newline at end of file -- 2.39.5