Fixes missing actions on responsive gridfield, cleanup indentation (#5446)

This commit is contained in:
Paul 2016-05-04 20:21:11 +12:00 committed by Ingo Schommer
parent 4b8e98b351
commit e04fb5b986
2 changed files with 4 additions and 11 deletions

File diff suppressed because one or more lines are too long

View File

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