mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-25 17:51:36 +01:00
Add no-toolbar
state for "nothing here" batch table views (#32128)
This commit is contained in:
parent
11a12e56b3
commit
24d3ce7bab
2 changed files with 5 additions and 1 deletions
|
@ -359,6 +359,10 @@ a.table-action-link {
|
||||||
@media screen and (max-width: $no-gap-breakpoint) {
|
@media screen and (max-width: $no-gap-breakpoint) {
|
||||||
border-top: 1px solid var(--background-border-color);
|
border-top: 1px solid var(--background-border-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&--no-toolbar {
|
||||||
|
border-top: 1px solid var(--background-border-color);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (width <= 870px) {
|
@media screen and (width <= 870px) {
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
.batch-table
|
.batch-table
|
||||||
.batch-table__body
|
.batch-table__body
|
||||||
- if @tags.empty?
|
- if @tags.empty?
|
||||||
= nothing_here 'nothing-here--under-tabs'
|
= nothing_here 'nothing-here--under-tabs nothing-here--no-toolbar'
|
||||||
- else
|
- else
|
||||||
= render partial: 'tag', collection: @tags
|
= render partial: 'tag', collection: @tags
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue