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

This commit is contained in:
Matt Jankowski authored and GitHub committed 2024-09-27 19:38:44 +00:00
1 parent 11a12e56b3
commit 24d3ce7bab
2 files changed
+5 -1

No files matched your search

@@ -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) {
+1 -1
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