add correct infinity scroll

This commit is contained in:
Profile Profile
2026-01-28 14:46:51 +03:00
parent 1b5530392f
commit 3ca3811a5f
4 changed files with 492 additions and 24 deletions

View File

@@ -167,6 +167,34 @@
font-weight: 400;
}
/* Убедитесь что индикаторы не занимают лишнее место */
#infinity-scroll-sentinel {
height: 1px;
width: 100%;
visibility: hidden;
pointer-events: none;
}
.loading-indicator {
text-align: center;
padding: 40px 0;
color: #666;
min-height: auto; /* ← Важно! */
}
.no-more-posts {
text-align: center;
padding: 30px 0;
color: #666;
font-size: 16px;
border-top: 1px solid #eee;
margin-top: 20px;
min-height: auto; /* ← Важно! */
}
/* Улучшения для больших карточек */
@media (min-width: 1200px) {
.post-card-large .post-category-badge {