]> source.dussan.org Git - vaadin-framework.git/commitdiff
Move panel background back to where it belongs. (#8313)
authorLeif Åstrand <leif@vaadin.com>
Thu, 8 Mar 2012 13:18:02 +0000 (15:18 +0200)
committerLeif Åstrand <leif@vaadin.com>
Thu, 8 Mar 2012 13:18:02 +0000 (15:18 +0200)
This is done to avoid using min-height: 100% which triggers overflow
issues in browsers that do not take the scrollbar into account. The
background seems to have been on the child of the .v-panel-content to
make some things work in IE6.

WebContent/VAADIN/themes/reindeer/panel/panel.css

index 08f130271d34d4e57b3cdf70799ec68a3299f41e..e7611b6ba29714c05db6779e8cd608683f020c28 100644 (file)
@@ -23,6 +23,7 @@
 }
 .v-panel-content,
 .white .v-panel-content {
+       background: #fff;
        border: 1px solid #dcdcdc;
        border-bottom: none;
        border-top: none;
 .v-ie9 .v-panel-content {
        border-top-color: rgba(0,0,0,.07);
 }
-.v-panel-content > div {
-       background: #fff;
-       min-height: 100%;
-       overflow: visible; /* min-height causes problems with borders and paddings if overflow is e.g. hidden */
-}
 .blue .v-panel-deco {
        border-color: #92a3ac;
        background: #adc2cd;
@@ -70,8 +66,6 @@
 }
 .v-panel-light .v-panel-content-light {
        border: none;
-}
-.v-panel-content-light > div {
        background: transparent;
 }
 .v-panel-light .v-panel-deco-light {