FieldGroup has incorrect size in IE11 #PL-5109

This commit is contained in:
Yuriy Artamonov 2015-03-24 12:01:19 +00:00
parent a52c743209
commit cf29b84b79
3 changed files with 14 additions and 0 deletions

View File

@ -44,6 +44,8 @@ public class CubaGroupBoxWidget extends VPanel {
bottomDecoration.setClassName(primaryStyleName + "-deco");
expander.setClassName(primaryStyleName + "-expander");
contentNode.getStyle().clearPosition();
setExpanded(true);
captionStartDeco.appendChild(DOM.createDiv());

View File

@ -9,6 +9,11 @@
@include valo-panel($primary-stylename);
@include halo-panel($primary-stylename);
.#{$primary-stylename} {
font-size: 0;
overflow: hidden !important;
}
.#{$primary-stylename}-content {
outline: none;
border-left: valo-border();
@ -17,6 +22,7 @@
border-bottom-left-radius: $v-border-radius;
border-bottom-right-radius: $v-border-radius;
padding: 0 round($v-unit-size/3) round($v-unit-size/3) round($v-unit-size/3);
overflow: visible;
}
.#{$primary-stylename}.collapsed > .#{$primary-stylename}-content,

View File

@ -8,6 +8,10 @@
@mixin havana-cuba-groupbox($primary-stylename : cuba-groupbox) {
@include base-panel($primary-stylename);
.#{$primary-stylename} {
font-size: 0;
}
.#{$primary-stylename}-content {
outline: none;
border-left: 1px solid $cuba-groupbox-border-color;
@ -15,6 +19,7 @@
border-bottom: 1px solid $cuba-groupbox-border-color;
padding: 0 5px;
padding-bottom: 5px;
overflow: visible;
}
.#{$primary-stylename}.collapsed > .#{$primary-stylename}-content,
@ -106,6 +111,7 @@
.#{$primary-stylename}-deco {
line-height: 0;
height: 0;
font-size: 0;
width: 0;
display: none;
}