From df56ca4ecbc9ea5241159008f49849eae8977001 Mon Sep 17 00:00:00 2001 From: John Ahlroos Date: Fri, 7 Sep 2012 18:15:18 +0300 Subject: Fixing 1px caption jump in tabsheet and accordion after switching to HTML5 doctype --- WebContent/VAADIN/themes/reindeer/accordion/accordion.scss | 5 +++++ .../VAADIN/themes/reindeer/tabsheet/tabsheet-normal-style.scss | 1 + 2 files changed, 6 insertions(+) (limited to 'WebContent/VAADIN') 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; -- cgit v1.2.3