mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Fixes missing actions on responsive gridfield, cleanup indentation (#5446)
This commit is contained in:
parent
4b8e98b351
commit
e04fb5b986
4
admin/client/dist/styles/bundle.css
vendored
4
admin/client/dist/styles/bundle.css
vendored
File diff suppressed because one or more lines are too long
@ -1,12 +1,6 @@
|
|||||||
// Grid-field
|
// Grid-field
|
||||||
// Extends basic table styles, requires .table .table-hover
|
// Extends basic table styles, requires .table .table-hover
|
||||||
|
|
||||||
.grid-field__table {
|
|
||||||
// Todo: Add extends
|
|
||||||
// @extend .table;
|
|
||||||
// @extend .table-hover;
|
|
||||||
}
|
|
||||||
|
|
||||||
.grid-field__row--drillable {
|
.grid-field__row--drillable {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
@ -38,9 +32,8 @@
|
|||||||
|
|
||||||
// Responsive grid-field
|
// Responsive grid-field
|
||||||
// Todo:
|
// Todo:
|
||||||
// * replace with mixins - @include media-breakpoint-down(sm)
|
|
||||||
// * add .text-truncate for overflowing cells
|
// * add .text-truncate for overflowing cells
|
||||||
@media (max-width: 47.9em) {
|
@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;
|
||||||
@ -49,7 +42,7 @@
|
|||||||
display: table-cell;
|
display: table-cell;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.grid-field__cell[data-reactid$=-actions],
|
&.grid-field__cell--actions,
|
||||||
&.grid-field__action-placeholder {
|
&.grid-field__action-placeholder {
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user