From 73da428cd7d1479fe5b9ba345e16716bbbd7a452 Mon Sep 17 00:00:00 2001 From: Gigi Date: Sun, 5 Oct 2025 22:12:41 +0100 Subject: [PATCH] remove(highlights): remove 'Show context' functionality from highlight items --- src/components/HighlightItem.tsx | 6 ------ src/index.css | 25 ------------------------- 2 files changed, 31 deletions(-) diff --git a/src/components/HighlightItem.tsx b/src/components/HighlightItem.tsx index 242e91ac..15df3261 100644 --- a/src/components/HighlightItem.tsx +++ b/src/components/HighlightItem.tsx @@ -69,12 +69,6 @@ export const HighlightItem: React.FC = ({ highlight, onSelec )} - {highlight.context && ( -
- Show context -

{highlight.context}

-
- )}
diff --git a/src/index.css b/src/index.css index 592c9487..17dc561e 100644 --- a/src/index.css +++ b/src/index.css @@ -1542,31 +1542,6 @@ body { line-height: 1.5; } -.highlight-context { - margin-top: 0.5rem; -} - -.highlight-context summary { - cursor: pointer; - font-size: 0.875rem; - color: #888; - user-select: none; - transition: color 0.2s ease; -} - -.highlight-context summary:hover { - color: #aaa; -} - -.context-text { - margin: 0.5rem 0 0 0; - padding: 0.75rem; - background: #252525; - border-radius: 6px; - font-size: 0.875rem; - color: #aaa; - line-height: 1.5; -} .highlight-meta { display: flex;