mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-21 13:19:22 +01: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>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
{snapStates.homeNew.length > 0 && (
|
{snapStates.homeNew.length > 0 &&
|
||||||
|
scrollDirection === 'up' &&
|
||||||
|
!nearReachTop &&
|
||||||
|
!nearReachBottom && (
|
||||||
<button
|
<button
|
||||||
class="updates-button"
|
class="updates-button"
|
||||||
type="button"
|
type="button"
|
||||||
|
|
Loading…
Reference in a new issue