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)} >