mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-04 20:28:00 +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");
|
bottomDecoration.setClassName(primaryStyleName + "-deco");
|
||||||
expander.setClassName(primaryStyleName + "-expander");
|
expander.setClassName(primaryStyleName + "-expander");
|
||||||
|
|
||||||
|
contentNode.getStyle().clearPosition();
|
||||||
|
|
||||||
setExpanded(true);
|
setExpanded(true);
|
||||||
|
|
||||||
captionStartDeco.appendChild(DOM.createDiv());
|
captionStartDeco.appendChild(DOM.createDiv());
|
||||||
|
@ -9,6 +9,11 @@
|
|||||||
@include valo-panel($primary-stylename);
|
@include valo-panel($primary-stylename);
|
||||||
@include halo-panel($primary-stylename);
|
@include halo-panel($primary-stylename);
|
||||||
|
|
||||||
|
.#{$primary-stylename} {
|
||||||
|
font-size: 0;
|
||||||
|
overflow: hidden !important;
|
||||||
|
}
|
||||||
|
|
||||||
.#{$primary-stylename}-content {
|
.#{$primary-stylename}-content {
|
||||||
outline: none;
|
outline: none;
|
||||||
border-left: valo-border();
|
border-left: valo-border();
|
||||||
@ -17,6 +22,7 @@
|
|||||||
border-bottom-left-radius: $v-border-radius;
|
border-bottom-left-radius: $v-border-radius;
|
||||||
border-bottom-right-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);
|
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,
|
.#{$primary-stylename}.collapsed > .#{$primary-stylename}-content,
|
||||||
|
@ -8,6 +8,10 @@
|
|||||||
@mixin havana-cuba-groupbox($primary-stylename : cuba-groupbox) {
|
@mixin havana-cuba-groupbox($primary-stylename : cuba-groupbox) {
|
||||||
@include base-panel($primary-stylename);
|
@include base-panel($primary-stylename);
|
||||||
|
|
||||||
|
.#{$primary-stylename} {
|
||||||
|
font-size: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.#{$primary-stylename}-content {
|
.#{$primary-stylename}-content {
|
||||||
outline: none;
|
outline: none;
|
||||||
border-left: 1px solid $cuba-groupbox-border-color;
|
border-left: 1px solid $cuba-groupbox-border-color;
|
||||||
@ -15,6 +19,7 @@
|
|||||||
border-bottom: 1px solid $cuba-groupbox-border-color;
|
border-bottom: 1px solid $cuba-groupbox-border-color;
|
||||||
padding: 0 5px;
|
padding: 0 5px;
|
||||||
padding-bottom: 5px;
|
padding-bottom: 5px;
|
||||||
|
overflow: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
.#{$primary-stylename}.collapsed > .#{$primary-stylename}-content,
|
.#{$primary-stylename}.collapsed > .#{$primary-stylename}-content,
|
||||||
@ -106,6 +111,7 @@
|
|||||||
.#{$primary-stylename}-deco {
|
.#{$primary-stylename}-deco {
|
||||||
line-height: 0;
|
line-height: 0;
|
||||||
height: 0;
|
height: 0;
|
||||||
|
font-size: 0;
|
||||||
width: 0;
|
width: 0;
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user