mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-26 20:31:05 +03:00
Less obstrusive "New posts"
This commit is contained in:
parent
72e3d96675
commit
dbf9c22ea5
1 changed files with 23 additions and 20 deletions
|
@ -246,7 +246,10 @@ function Home({ hidden }) {
|
|||
</a>
|
||||
</div>
|
||||
</header>
|
||||
{snapStates.homeNew.length > 0 && (
|
||||
{snapStates.homeNew.length > 0 &&
|
||||
scrollDirection === 'up' &&
|
||||
!nearReachTop &&
|
||||
!nearReachBottom && (
|
||||
<button
|
||||
class="updates-button"
|
||||
type="button"
|
||||
|
|
Loading…
Add table
Reference in a new issue