From d7dac0455e66ded2f0f9aece8f705db75a9eba0b Mon Sep 17 00:00:00 2001 From: bincxz <16399091+binaricat@users.noreply.github.com> Date: Sun, 7 Dec 2025 20:30:32 +0800 Subject: [PATCH] feat: Update the context menu style to enhance visibility and interactivity --- App.tsx | 28 ++++++++++++++++------------ components/ui/context-menu.tsx | 5 +++-- 2 files changed, 19 insertions(+), 14 deletions(-) diff --git a/App.tsx b/App.tsx index 5e9e8be07..8445be1e2 100755 --- a/App.tsx +++ b/App.tsx @@ -1794,23 +1794,27 @@ function App() { } : { left: 0, top: 0, width: '100%', height: '100%' }; + const style: React.CSSProperties = isFocused + ? { + ...layoutStyle, + outline: '2px solid hsl(var(--primary))', + outlineOffset: -4, + boxShadow: 'inset 0 0 0 1px rgba(255,255,255,0.12)', + } + : { ...layoutStyle }; + + if (!isVisible) { + style.display = 'none'; + } + return (
setFocusedSessionId(session.id)} >