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
// Extends basic table styles, requires .table .table-hover
.grid-field__table {
// Todo: Add extends
// @extend .table;
// @extend .table-hover;
}
.grid-field__row--drillable {
cursor: pointer;
}
@ -38,9 +32,8 @@
// Responsive grid-field
// Todo:
// * replace with mixins - @include media-breakpoint-down(sm)
// * add .text-truncate for overflowing cells
@media (max-width: 47.9em) {
@include media-breakpoint-down(sm) {
.grid-field__table td,
.grid-field__table th {
display: none;
@ -49,7 +42,7 @@
display: table-cell;
}
&.grid-field__cell[data-reactid$=-actions],
&.grid-field__cell--actions,
&.grid-field__action-placeholder {
display: table-cell;
}