style: restore deep black shadow on article cards

This commit is contained in:
Michael committed 2026-02-09 10:21:15 +01:00
1 parent 187b6c8b86
commit 21bd917ab7
1 file changed
+3 -2
+3 -2
View File
@@ -92,9 +92,10 @@ export function ArticleCard({ article, onClick, onToggleRead, onToggleFavorite }
{/* Main Interactive Card */}
<article
{...handlers}
className={`magazine-card group cursor-pointer flex flex-col h-full relative z-10 bg-carbon overflow-visible shadow-xl shadow-paper-muted/20 hover:shadow-2xl hover:shadow-nature/20 rounded-xl border border-transparent hover:border-nature/10 transition-transform ${isSwiping ? '' : 'duration-500 ease-out'}`}
className={`magazine-card group cursor-pointer flex flex-col h-full relative z-10 bg-carbon overflow-visible rounded-xl border border-transparent hover:border-nature/10 transition-all ${isSwiping ? '' : 'duration-500 ease-out'}`}
style={{
transform: `translateX(${swipeOffset}px)`
transform: `translateX(${swipeOffset}px)`,
boxShadow: '0 10px 30px -5px rgba(0, 0, 0, 0.7), 0 8px 15px -8px rgba(0, 0, 0, 0.8)'
}}
onClick={() => !isSwiping && Math.abs(swipeOffset) < 5 && onClick(article)}
>