From 9700e89aa7ea5c90ad8f44355c829acffe13fe97 Mon Sep 17 00:00:00 2001 From: John Ahlroos Date: Tue, 9 Oct 2012 11:05:43 +0300 Subject: [PATCH] Applied a similar fix for the scrollbars in accordion and tabsheet as was done for the splitpanel previously #9572 Change-Id: Ic52081d30e0febeac2cc2378e4a6af7f83306ae9 --- .../VAADIN/themes/base/accordion/accordion.scss | 10 ++++++++++ WebContent/VAADIN/themes/base/tabsheet/tabsheet.scss | 12 ++++++++++++ 2 files changed, 22 insertions(+) diff --git a/WebContent/VAADIN/themes/base/accordion/accordion.scss b/WebContent/VAADIN/themes/base/accordion/accordion.scss index 6f4825f16b..694f5ca930 100644 --- a/WebContent/VAADIN/themes/base/accordion/accordion.scss +++ b/WebContent/VAADIN/themes/base/accordion/accordion.scss @@ -27,4 +27,14 @@ width: 100%; } +/* + * In IE8 and IE9 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. Doing this for + * all browsers for consistency. + */ +.v-accordion .v-accordion-item-content > .v-widget { + display: block; +} + } \ No newline at end of file diff --git a/WebContent/VAADIN/themes/base/tabsheet/tabsheet.scss b/WebContent/VAADIN/themes/base/tabsheet/tabsheet.scss index a001605f27..6fcb3d1705 100644 --- a/WebContent/VAADIN/themes/base/tabsheet/tabsheet.scss +++ b/WebContent/VAADIN/themes/base/tabsheet/tabsheet.scss @@ -125,4 +125,16 @@ height: 0; } +/* + * In IE8 and IE9 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. Doing this for + * all browsers for consistency. + */ +.#{$name} .v-scrollable > .v-widget { + display: block; +} + + + } \ No newline at end of file -- 2.39.5