mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fix add fieldgroup specific flexbox styles to the inner fields
This commit is contained in:
parent
5388ff41ec
commit
cbc5aca26a
31
admin/client/dist/styles/bundle.css
vendored
31
admin/client/dist/styles/bundle.css
vendored
@ -14943,6 +14943,37 @@ div.TreeDropdownField a.jstree-loading .jstree-pageicon{
|
||||
color:#66727d;
|
||||
}
|
||||
|
||||
.fieldgroup--fill-width>.form__field-holder>.fieldgroup{
|
||||
display:-webkit-box;
|
||||
display:-ms-flexbox;
|
||||
display:flex;
|
||||
width:100%;
|
||||
-webkit-box-orient:horizontal;
|
||||
-webkit-box-direction:normal;
|
||||
-ms-flex-direction:row;
|
||||
flex-direction:row;
|
||||
}
|
||||
|
||||
.fieldgroup--fill-width>.form__field-holder>.fieldgroup>.field:last-child{
|
||||
margin-right:0;
|
||||
}
|
||||
|
||||
.fieldgroup--fill-height>.form__field-holder>.fieldgroup{
|
||||
display:-webkit-box;
|
||||
display:-ms-flexbox;
|
||||
display:flex;
|
||||
height:100%;
|
||||
min-height:0;
|
||||
-webkit-box-orient:vertical;
|
||||
-webkit-box-direction:normal;
|
||||
-ms-flex-direction:column;
|
||||
flex-direction:column;
|
||||
}
|
||||
|
||||
.fieldgroup--fill-height>.form__field-holder>.fieldgroup>.field:last-child{
|
||||
margin-bottom:0;
|
||||
}
|
||||
|
||||
.list-group{
|
||||
margin-left:-1.5385rem;
|
||||
margin-right:-1.5385rem;
|
||||
|
@ -13,3 +13,24 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.fieldgroup--fill-width > .form__field-holder > .fieldgroup {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
flex-direction: row;
|
||||
|
||||
> .field:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.fieldgroup--fill-height > .form__field-holder > .fieldgroup {
|
||||
display: flex;
|
||||
height: 100%;
|
||||
min-height: 0; // See https://www.fxsitecompat.com/en-GB/docs/2014/initial-value-of-min-width-height-on-flex-items-has-been-reverted-to-auto/
|
||||
flex-direction: column;
|
||||
|
||||
> .field:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user