On mobile, batch actions are hidden from the settings/admin interface,
but there are several places those actions can only be performed through
batch actions.
This may not look great, but at least it makes the actions available again.
margin-top: 0;
}
}
-
- @media screen and (max-width: $no-gap-breakpoint) {
- display: none;
- }
}
&__actions,
text-align: right;
padding-right: 16px - 5px;
}
-
- @media screen and (max-width: $no-gap-breakpoint) {
- display: none;
- }
}
&__form {
background: darken($ui-base-color, 4%);
@media screen and (max-width: $no-gap-breakpoint) {
- &:first-child {
+ .optional &:first-child {
border-top: 1px solid darken($ui-base-color, 8%);
}
}
}
}
+ &.optional .batch-table__toolbar,
+ &.optional .batch-table__row__select {
+ @media screen and (max-width: $no-gap-breakpoint) {
+ display: none;
+ }
+ }
+
.status__content {
padding-top: 0;
- Admin::FilterHelper::TAGS_FILTERS.each do |key|
= hidden_field_tag key, params[key] if params[key].present?
- .batch-table
+ .batch-table.optional
.batch-table__toolbar
%label.batch-table__toolbar__select.batch-checkbox-all
= check_box_tag :batch_checkbox_all, nil, false