From: John Ahlroos Date: Fri, 7 Sep 2012 15:15:18 +0000 (+0300) Subject: Fixing 1px caption jump in tabsheet and accordion after switching to X-Git-Tag: 7.0.0.beta1~136 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=df56ca4ecbc9ea5241159008f49849eae8977001;p=vaadin-framework.git Fixing 1px caption jump in tabsheet and accordion after switching to HTML5 doctype --- diff --git a/WebContent/VAADIN/themes/reindeer/accordion/accordion.scss b/WebContent/VAADIN/themes/reindeer/accordion/accordion.scss index 8ba0b2151f..c0778e68dc 100644 --- a/WebContent/VAADIN/themes/reindeer/accordion/accordion.scss +++ b/WebContent/VAADIN/themes/reindeer/accordion/accordion.scss @@ -19,6 +19,11 @@ border-top: 1px solid #bebebe; text-shadow: #fff 0 1px 0; } + +.v-accordion-item-caption .v-captiontext{ + vertical-align:baseline; +} + .v-accordion-item-first .v-accordion-item-caption { border-top: none; } diff --git a/WebContent/VAADIN/themes/reindeer/tabsheet/tabsheet-normal-style.scss b/WebContent/VAADIN/themes/reindeer/tabsheet/tabsheet-normal-style.scss index 11bb98536a..176d35eea8 100644 --- a/WebContent/VAADIN/themes/reindeer/tabsheet/tabsheet-normal-style.scss +++ b/WebContent/VAADIN/themes/reindeer/tabsheet/tabsheet-normal-style.scss @@ -39,6 +39,7 @@ .v-tabsheet-tabitem .v-captiontext { height: 16px; line-height: 16px; + vertical-align:baseline; } .v-tabsheet-caption-close { float: right;