summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Ahlroos <john@vaadin.com>2012-09-07 18:15:18 +0300
committerJohn Ahlroos <john@vaadin.com>2012-09-07 18:15:35 +0300
commitdf56ca4ecbc9ea5241159008f49849eae8977001 (patch)
tree20df93cd99fcf4258758128c6b34b8ed7d1f43b5
parent94db382d1e387880da6a001e5f27d2f2db3e55ed (diff)
downloadvaadin-framework-df56ca4ecbc9ea5241159008f49849eae8977001.tar.gz
vaadin-framework-df56ca4ecbc9ea5241159008f49849eae8977001.zip
Fixing 1px caption jump in tabsheet and accordion after switching to
HTML5 doctype
-rw-r--r--WebContent/VAADIN/themes/reindeer/accordion/accordion.scss5
-rw-r--r--WebContent/VAADIN/themes/reindeer/tabsheet/tabsheet-normal-style.scss1
2 files changed, 6 insertions, 0 deletions
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;