Hide empty text as soon as another inbox entry appears

This commit is contained in:
Andreas Nedbal 2022-11-17 21:56:49 +01:00 committed by Andreas Nedbal
parent 44c0136c9e
commit 22289f2946
3 changed files with 6 additions and 2 deletions

View File

@ -9,3 +9,7 @@
.pe-none { .pe-none {
pointer-events: none; pointer-events: none;
} }
.empty:not(:only-child) {
display: none;
}

View File

@ -3,7 +3,7 @@
= render "inbox/entry", i: i = render "inbox/entry", i: i
- if @inbox.empty? - if @inbox.empty?
= t(".empty") %p.empty= t(".empty")
- if @more_data_available - if @more_data_available
.d-flex.justify-content-center#paginator .d-flex.justify-content-center#paginator