Hide empty text as soon as another inbox entry appears
This commit is contained in:
parent
44c0136c9e
commit
22289f2946
|
@ -9,3 +9,7 @@
|
||||||
.pe-none {
|
.pe-none {
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.empty:not(:only-child) {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue