From 4ec762350c9bc0704bb81357949f910124fac0c6 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 28 Feb 2026 16:19:50 +0000 Subject: Remove scrape/text button that caused squished body text The float:right "text" button inside .dateline was causing .item-description content to wrap around it when .feed-item gained overflow:hidden. Removing the button fixes the squished text regression. The backend scrape endpoint and scrapeItem() handler remain intact for potential future use. https://claude.ai/code/session_0141nhxmYfoFPVPZ813K1XFD --- frontend-vanilla/src/components/FeedItem.ts | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'frontend-vanilla/src') diff --git a/frontend-vanilla/src/components/FeedItem.ts b/frontend-vanilla/src/components/FeedItem.ts index e58aac8..8f607af 100644 --- a/frontend-vanilla/src/components/FeedItem.ts +++ b/frontend-vanilla/src/components/FeedItem.ts @@ -1,5 +1,9 @@ import type { Item } from '../types'; +// NOTE: The "text" scrape button (data-action="scrape") was removed from the +// template. The backend endpoint and scrapeItem() handler in main.ts are still +// intact if we want to bring it back with proper styling later. + export function createFeedItem(item: Item): string { const date = new Date(item.publish_date).toLocaleDateString(); return ` @@ -17,13 +21,6 @@ export function createFeedItem(item: Item): string { ${date} ${item.feed_title ? ` - ${item.feed_title}` : ''} -
- ${!item.full_content ? ` - - ` : ''} -
${(item.full_content || item.description) ? `
-- cgit v1.2.3