]> source.dussan.org Git - vaadin-framework.git/commitdiff
Added IE8 HTML5 doctype fix for removing unneeded scrollbars in splitpanel #9552 57/57/4
authorJohn Ahlroos <john@vaadin.com>
Thu, 4 Oct 2012 11:12:38 +0000 (14:12 +0300)
committerJohn Ahlroos <john@vaadin.com>
Thu, 4 Oct 2012 13:51:40 +0000 (16:51 +0300)
Change-Id: I2d9abc2add60809412a8625d4b4753aca408c7cd

WebContent/VAADIN/themes/base/splitpanel/splitpanel.scss

index 2c3e578b0bb1e2bd02b5d7e55b507969aeea10c8..b22ebe25698e9d99cdb4389ed373c726d6714a8a 100644 (file)
        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