aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/chameleon
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-12-14 15:28:17 +0200
committerArtur Signell <artur@vaadin.com>2012-12-17 21:46:54 +0200
commitb7aa5ead03310a45587284b3cfec64f56613fbd6 (patch)
tree8e66eba1be016c6527b2c1501fc1eca1862489b4 /WebContent/VAADIN/themes/chameleon
parent95d9349d2381b751526c6617f4d0d9d13fac18d3 (diff)
downloadvaadin-framework-b7aa5ead03310a45587284b3cfec64f56613fbd6.tar.gz
vaadin-framework-b7aa5ead03310a45587284b3cfec64f56613fbd6.zip
Fixed IE scrollbar issues for most if not all components
Fixed by defining font-size:0 and line-height:normal for all v-scrollable elements. A font-size is defined using $font-size for all themes and this is reset in v-widget. Similarly for $line-height. Should fix at least #9004, #9552, #9572 Change-Id: I78da2c2ce497a0a22962644c9c97df5a0e41e056
Diffstat (limited to 'WebContent/VAADIN/themes/chameleon')
-rw-r--r--WebContent/VAADIN/themes/chameleon/chameleon.scss2
-rw-r--r--WebContent/VAADIN/themes/chameleon/components/table/table.scss4
2 files changed, 6 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/chameleon/chameleon.scss b/WebContent/VAADIN/themes/chameleon/chameleon.scss
index 8a24a73cbf..95f81f69c1 100644
--- a/WebContent/VAADIN/themes/chameleon/chameleon.scss
+++ b/WebContent/VAADIN/themes/chameleon/chameleon.scss
@@ -3,6 +3,8 @@
@import "components/components.scss";
@import "compound/compound.scss";
+$font-size: 13px;
+$line-height: 1.4;
@mixin chameleon {
// TODO move this?
@include base;
diff --git a/WebContent/VAADIN/themes/chameleon/components/table/table.scss b/WebContent/VAADIN/themes/chameleon/components/table/table.scss
index 9a90222c86..b3ebf44d63 100644
--- a/WebContent/VAADIN/themes/chameleon/components/table/table.scss
+++ b/WebContent/VAADIN/themes/chameleon/components/table/table.scss
@@ -1,5 +1,9 @@
@mixin chameleon-table($primaryStyleName : v-table) {
+.#{$primaryStyleName}-table {
+ line-height: $line-height;
+}
+
.#{$primaryStyleName}-header-wrap,
.#{$primaryStyleName}-header-drag {
background: #c9c9c9 url(../../img/grad-light-top.png) repeat-x;