diff options
author | Artur Signell <artur@vaadin.com> | 2012-11-29 20:31:02 +0200 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2012-12-07 11:00:25 +0200 |
commit | 0c67f19e4990f9f564b9848dd9d3416ff6458dae (patch) | |
tree | 4367c557c36da5087902e02deb0c41f551cd8669 /WebContent | |
parent | ece1ab1fa500ad7142b80534dffee0b3883a984e (diff) | |
download | vaadin-framework-0c67f19e4990f9f564b9848dd9d3416ff6458dae.tar.gz vaadin-framework-0c67f19e4990f9f564b9848dd9d3416ff6458dae.zip |
Fixed accordion to not cause scrollbars in IE (#9552)
Change-Id: Ie27894b35be4d79c29b201ec79991c7d9263a1eb
Diffstat (limited to 'WebContent')
-rw-r--r-- | WebContent/VAADIN/themes/base/accordion/accordion.scss | 4 | ||||
-rw-r--r-- | WebContent/VAADIN/themes/reindeer/accordion/accordion.scss | 9 |
2 files changed, 6 insertions, 7 deletions
diff --git a/WebContent/VAADIN/themes/base/accordion/accordion.scss b/WebContent/VAADIN/themes/base/accordion/accordion.scss index 6f4825f16b..833060ade8 100644 --- a/WebContent/VAADIN/themes/base/accordion/accordion.scss +++ b/WebContent/VAADIN/themes/base/accordion/accordion.scss @@ -3,7 +3,7 @@ .v-accordion { position: relative; outline: none; - overflow: hidden; + overflow: visible; text-align: left; /* Force default alignment */ } .v-accordion-item { @@ -11,7 +11,7 @@ zoom: 1; } .v-accordion-item-caption { - overflow: hidden; + overflow: visible; white-space: nowrap; background: #eee; border-bottom: 1px solid #ddd; diff --git a/WebContent/VAADIN/themes/reindeer/accordion/accordion.scss b/WebContent/VAADIN/themes/reindeer/accordion/accordion.scss index 2646bfaa8b..bc332dd13b 100644 --- a/WebContent/VAADIN/themes/reindeer/accordion/accordion.scss +++ b/WebContent/VAADIN/themes/reindeer/accordion/accordion.scss @@ -5,10 +5,12 @@ border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; - overflow: hidden; + overflow: visible; } .#{$primaryStyleName}-item { background-color: #fff; + display: inline-block; + width: 100%; } .#{$primaryStyleName}-item-caption { height: 19px; @@ -28,10 +30,7 @@ border-top: none; } .#{$primaryStyleName}-item-caption .v-caption { - padding: 3px 0 5px 10px; -} -.v-ie & .#{$primaryStyleName}-item-caption .v-caption { - padding: 2px 0 6px 10px; + padding: 3px 0 0px 10px; } .#{$primaryStyleName}-item-open .#{$primaryStyleName}-item-caption { background-image: url(../tabsheet/img/tabbar-bg-sel.png); /** sprite-ref: verticals; sprite-alignment: repeat */ |