pripomocka ne prerastejo vrstice 399 px, prazna oglasna celica v rubriki se skrije, vrhnji pas omejen na 728 px
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user