summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN
diff options
context:
space:
mode:
Diffstat (limited to 'WebContent/VAADIN')
-rw-r--r--WebContent/VAADIN/themes/base/accordion/accordion.scss10
-rw-r--r--WebContent/VAADIN/themes/base/tabsheet/tabsheet.scss12
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