pripomocka ne prerastejo vrstice 399 px, prazna oglasna celica v rubriki se skrije, vrhnji pas omejen na 728 px

This commit is contained in:
2026-08-31 18:05:29 +02:00
parent a395b18013
commit fe2804cc4d
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -169,7 +169,7 @@ export default function CategoryPage({ fixedCategory }: { fixedCategory?: string
const adCol = row === 0 ? 3 : row % 4;
for (let col = 0; col < 4; col++) {
if (col === adCol) {
items.push(<div key={`ad-row-${row}`} className="lg:row-span-2 h-full"><ArticleCardAd /></div>);
items.push(<div key={`ad-row-${row}`} className="lg:row-span-2 h-full empty:hidden"><ArticleCardAd /></div>);
} else if (ai < articles.length) {
const a = articles[ai];
items.push(