[Glitch] Fix batch actions being hidden from mobile view

Port SCSS changes from aa884e0484 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
master
ThibG 5 years ago committed by Thibaut Girka
parent 59946f9231
commit a4dc0d2c27
  1. 17
      app/javascript/flavours/glitch/styles/tables.scss

@ -149,10 +149,6 @@ a.table-action-link {
margin-top: 0; margin-top: 0;
} }
} }
@media screen and (max-width: $no-gap-breakpoint) {
display: none;
}
} }
&__actions, &__actions,
@ -174,10 +170,6 @@ a.table-action-link {
text-align: right; text-align: right;
padding-right: 16px - 5px; padding-right: 16px - 5px;
} }
@media screen and (max-width: $no-gap-breakpoint) {
display: none;
}
} }
&__form { &__form {
@ -198,7 +190,7 @@ a.table-action-link {
background: darken($ui-base-color, 4%); background: darken($ui-base-color, 4%);
@media screen and (max-width: $no-gap-breakpoint) { @media screen and (max-width: $no-gap-breakpoint) {
&:first-child { .optional &:first-child {
border-top: 1px solid darken($ui-base-color, 8%); border-top: 1px solid darken($ui-base-color, 8%);
} }
} }
@ -264,6 +256,13 @@ a.table-action-link {
} }
} }
&.optional .batch-table__toolbar,
&.optional .batch-table__row__select {
@media screen and (max-width: $no-gap-breakpoint) {
display: none;
}
}
.status__content { .status__content {
padding-top: 0; padding-top: 0;

Loading…
Cancel
Save