Add no-toolbar state for "nothing here" batch table views (#32128)

This commit is contained in:
Matt Jankowski 2024-09-27 15:38:44 -04:00 committed by GitHub
parent 11a12e56b3
commit 24d3ce7bab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View file

@ -359,6 +359,10 @@ a.table-action-link {
@media screen and (max-width: $no-gap-breakpoint) {
border-top: 1px solid var(--background-border-color);
}
&--no-toolbar {
border-top: 1px solid var(--background-border-color);
}
}
@media screen and (width <= 870px) {

View file

@ -32,7 +32,7 @@
.batch-table
.batch-table__body
- if @tags.empty?
= nothing_here 'nothing-here--under-tabs'
= nothing_here 'nothing-here--under-tabs nothing-here--no-toolbar'
- else
= render partial: 'tag', collection: @tags