diff options
author | John Ahlroos <john@vaadin.com> | 2012-10-09 11:05:43 +0300 |
---|---|---|
committer | John Ahlroos <john@vaadin.com> | 2012-10-09 12:14:43 +0300 |
commit | 9700e89aa7ea5c90ad8f44355c829acffe13fe97 (patch) | |
tree | 90ce3244d6198f869226ff881b8341a231e02529 /WebContent/VAADIN/themes | |
parent | 5060adb19b22435addbc34fcad6e7ca9e67c273c (diff) | |
download | vaadin-framework-9700e89aa7ea5c90ad8f44355c829acffe13fe97.tar.gz vaadin-framework-9700e89aa7ea5c90ad8f44355c829acffe13fe97.zip |
Applied a similar fix for the scrollbars in accordion and tabsheet as was done for the splitpanel previously #9572
Change-Id: Ic52081d30e0febeac2cc2378e4a6af7f83306ae9
Diffstat (limited to 'WebContent/VAADIN/themes')
-rw-r--r-- | WebContent/VAADIN/themes/base/accordion/accordion.scss | 10 | ||||
-rw-r--r-- | WebContent/VAADIN/themes/base/tabsheet/tabsheet.scss | 12 |
2 files changed, 22 insertions, 0 deletions
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 |