From 6e4915b89519e9fc39aa09ed96c3c2c4913baf96 Mon Sep 17 00:00:00 2001 From: Antigravity Agent Date: Wed, 4 Feb 2026 22:17:26 +0100 Subject: [PATCH] style(ui): re-apply ribbon polish with correct centering and alignment --- web/src/components/ArticleCard.tsx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/web/src/components/ArticleCard.tsx b/web/src/components/ArticleCard.tsx index 546ef40..7b684e2 100644 --- a/web/src/components/ArticleCard.tsx +++ b/web/src/components/ArticleCard.tsx @@ -13,24 +13,24 @@ export function ArticleCard({ article, onClick, onToggleRead, onToggleFavorite } return (
onClick(article)}> - {/* Unread Ribbon - "Paper Corner" Effect */} - {/* Unread Ribbon - Wrapping "Paper Corner" Effect */} + {/* Unread Ribbon - Polished Wrapping Effect */} {!article.is_read && ( -
- {/* Ribbon */} -
+
+ {/* The Ribbon Itself */} +
Non Lu
- {/* Darker Folds for "Wrapping" Effect */} -
-
+ + {/* Darker Folds for "Wrapping" Effect (Simulated behind the card) */} +
+
)} {!article.is_read && ( - /* External folds to complete the "behind" illusion if sticking out */ + /* External fold bits to cover the corner if needed for perfection */ <> -
-
+
+
)}