mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-03 19:57:36 +08:00
FieldGroup has incorrect size in IE11 #PL-5109
This commit is contained in:
parent
a52c743209
commit
cf29b84b79
@ -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());
|
||||
|
@ -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,
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user