Magazine laoyt fix
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2025-11-09 13:45:10 +09:00
parent 925abca6ea
commit ae54fb7ed1
2 changed files with 2 additions and 8 deletions

View File

@@ -37,11 +37,7 @@ export function ExpandableGroup({
opacity: overlayOpacity
} : undefined
// Добавляем отладочную информацию
console.log(`ExpandableGroup: ${links.length} links, initialShowCount: ${initialShowCount}, layout: ${layout}`)
if (links.length <= initialShowCount) {
console.log(`No expand button needed: ${links.length} <= ${initialShowCount}`)
return (
<div className={className}>
{links.map((link) => (
@@ -61,8 +57,6 @@ export function ExpandableGroup({
const visibleLinks = isExpanded ? links : links.slice(0, initialShowCount)
const hiddenCount = links.length - initialShowCount
console.log(`Showing expand button: visibleLinks: ${visibleLinks.length}, hiddenCount: ${hiddenCount}`)
return (
<div className={className}>
{visibleLinks.map((link) => (

View File

@@ -170,8 +170,8 @@
}
.links-preview {
max-height: 120px;
overflow: hidden;
max-height: none;
overflow: visible;
}
/* Кладка (Masonry) адаптивная сетка */