mirror of
https://github.com/styppo/hamstr.git
synced 2024-10-18 05:23:28 +00:00
Merge pull request #13 from w3irdrobot/fix-empty-unread
only show load more container when there are unreads
This commit is contained in:
commit
0ef9c65bde
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="feed">
|
||||
<div class="load-more-container" :class="{'more-available': numUnreads}">
|
||||
<div class="load-more-container" :class="{'more-available': numUnreads}" v-if="numUnreads">
|
||||
<AsyncLoadButton
|
||||
v-if="numUnreads"
|
||||
:load-fn="loadNewer"
|
||||
@ -181,6 +181,10 @@ export default {
|
||||
> .async-load-button:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
> .thread:first-child, .load-more-container + .thread {
|
||||
border-top: $border-dark;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: $phone) {
|
||||
|
Loading…
Reference in New Issue
Block a user