Don't hide gridfield content on small list view of tree

This commit is contained in:
Paul Clarke 2016-10-31 12:21:48 +13:00
parent a5d3dccd37
commit 1395ee0c31
2 changed files with 14 additions and 26 deletions

View File

@ -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;

View File

@ -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;
}
}
}
}