mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Nicer pattern for showing list view of pages
This commit is contained in:
parent
bb2cb3d487
commit
76d3fb80e3
4
admin/client/dist/styles/bundle.css
vendored
4
admin/client/dist/styles/bundle.css
vendored
@ -15350,11 +15350,11 @@ div.grid-field__sort-field+.form__fieldgroup-item{
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width:767px){
|
@media (max-width:767px){
|
||||||
:not(div.cms-list) .grid-field__table td,:not(div.cms-list) .grid-field__table th{
|
.grid-field__table td,.grid-field__table th{
|
||||||
display:none;
|
display:none;
|
||||||
}
|
}
|
||||||
|
|
||||||
: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{
|
.cms-list .grid-field__table td,.cms-list .grid-field__table th,.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{
|
||||||
display:table-cell;
|
display:table-cell;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -241,13 +241,13 @@ div.grid-field__sort-field + .form__fieldgroup-item {
|
|||||||
|
|
||||||
// Responsive grid-field
|
// Responsive grid-field
|
||||||
// Todo: add .text-truncate for overflowing cells
|
// Todo: add .text-truncate for overflowing cells
|
||||||
:not(div.cms-list) {
|
@include media-breakpoint-down(sm) {
|
||||||
@include media-breakpoint-down(sm) {
|
|
||||||
.grid-field__table td,
|
.grid-field__table td,
|
||||||
.grid-field__table th {
|
.grid-field__table th {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
||||||
&:first-child {
|
&:first-child,
|
||||||
|
.cms-list & {
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -256,5 +256,4 @@ div.grid-field__sort-field + .form__fieldgroup-item {
|
|||||||
display: table-cell;
|
display: table-cell;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user