From: Leif Åstrand Date: Thu, 8 Mar 2012 13:18:02 +0000 (+0200) Subject: Move panel background back to where it belongs. (#8313) X-Git-Tag: 7.0.0.alpha2~378 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2fd39e34124403786089da77fc7e1ce6d9acc298;p=vaadin-framework.git Move panel background back to where it belongs. (#8313) 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. --- diff --git a/WebContent/VAADIN/themes/reindeer/panel/panel.css b/WebContent/VAADIN/themes/reindeer/panel/panel.css index 08f130271d..e7611b6ba2 100644 --- a/WebContent/VAADIN/themes/reindeer/panel/panel.css +++ b/WebContent/VAADIN/themes/reindeer/panel/panel.css @@ -23,6 +23,7 @@ } .v-panel-content, .white .v-panel-content { + background: #fff; border: 1px solid #dcdcdc; border-bottom: none; border-top: none; @@ -32,11 +33,6 @@ .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 {