From 38f4b69d48172dbefbf7e46c90ef87d2283a5408 Mon Sep 17 00:00:00 2001 From: Gigi Date: Sat, 25 Oct 2025 01:36:01 +0200 Subject: [PATCH] feat: position bookmark type icon in top-left corner of card - Move bookmark type icon to top-left corner as overlay - Add bookmark-type-overlay with absolute positioning - Style icon with background, border, and shadow for visibility - Update responsive design for smaller screens - Remove icon from bookmark header to avoid duplication - Ensure icon is always visible and accessible --- src/components/BookmarkViews/CardView.tsx | 8 +++-- src/styles/components/cards.css | 41 +++++++++++++++++++++++ 2 files changed, 46 insertions(+), 3 deletions(-) diff --git a/src/components/BookmarkViews/CardView.tsx b/src/components/BookmarkViews/CardView.tsx index ae63760b..026eeebd 100644 --- a/src/components/BookmarkViews/CardView.tsx +++ b/src/components/BookmarkViews/CardView.tsx @@ -117,6 +117,11 @@ export const CardView: React.FC = ({ onKeyDown={handleKeyDown} >
+ {/* Bookmark type icon in top-left corner */} +
+ +
+
{(cachedImage || firstUrl) && ( @@ -134,9 +139,6 @@ export const CardView: React.FC = ({ )}
- - - {getInternalRoute() ? (