Less obstrusive "New posts"

This commit is contained in:
Lim Chee Aun 2023-01-03 00:52:16 +08:00
parent 72e3d96675
commit dbf9c22ea5

View file

@ -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"