mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Don't hide gridfield content on small list view of tree
This commit is contained in:
parent
a5d3dccd37
commit
1395ee0c31
18
admin/client/dist/styles/bundle.css
vendored
18
admin/client/dist/styles/bundle.css
vendored
@ -15350,11 +15350,11 @@ div.grid-field__sort-field+.form__fieldgroup-item{
|
||||
}
|
||||
|
||||
@media (max-width:767px){
|
||||
.grid-field__table td,.grid-field__table th{
|
||||
:not(div.cms-list) .grid-field__table td,:not(div.cms-list) .grid-field__table th{
|
||||
display:none;
|
||||
}
|
||||
|
||||
.grid-field__table td.grid-field__action-placeholder,.grid-field__table td.grid-field__cell--actions,.grid-field__table td:first-child,.grid-field__table th.grid-field__action-placeholder,.grid-field__table th.grid-field__cell--actions,.grid-field__table th:first-child{
|
||||
:not(div.cms-list) .grid-field__table td.grid-field__action-placeholder,:not(div.cms-list) .grid-field__table td.grid-field__cell--actions,:not(div.cms-list) .grid-field__table td:first-child,:not(div.cms-list) .grid-field__table th.grid-field__action-placeholder,:not(div.cms-list) .grid-field__table th.grid-field__cell--actions,:not(div.cms-list) .grid-field__table th:first-child{
|
||||
display:table-cell;
|
||||
}
|
||||
}
|
||||
@ -15955,20 +15955,6 @@ input.checkbox,input.radio,input[type=checkbox],input[type=radio]{
|
||||
color:#d40404;
|
||||
}
|
||||
|
||||
*,:after,:before{
|
||||
box-sizing:border-box;
|
||||
}
|
||||
|
||||
body,html{
|
||||
width:100%;
|
||||
height:100%;
|
||||
margin:0;
|
||||
padding:0;
|
||||
display:-ms-flexbox;
|
||||
display:-webkit-box;
|
||||
display:flex;
|
||||
}
|
||||
|
||||
@media (max-width:991px){
|
||||
.CMSPageEditController.has-panel .cms-content-tools,.CMSPageSettingsController.has-panel .cms-content-tools{
|
||||
display:none;
|
||||
|
@ -241,18 +241,20 @@ div.grid-field__sort-field + .form__fieldgroup-item {
|
||||
|
||||
// Responsive grid-field
|
||||
// Todo: add .text-truncate for overflowing cells
|
||||
@include media-breakpoint-down(sm) {
|
||||
.grid-field__table td,
|
||||
.grid-field__table th {
|
||||
display: none;
|
||||
:not(div.cms-list) {
|
||||
@include media-breakpoint-down(sm) {
|
||||
.grid-field__table td,
|
||||
.grid-field__table th {
|
||||
display: none;
|
||||
|
||||
&:first-child {
|
||||
display: table-cell;
|
||||
}
|
||||
&:first-child {
|
||||
display: table-cell;
|
||||
}
|
||||
|
||||
&.grid-field__cell--actions,
|
||||
&.grid-field__action-placeholder {
|
||||
display: table-cell;
|
||||
&.grid-field__cell--actions,
|
||||
&.grid-field__action-placeholder {
|
||||
display: table-cell;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user