diff --git a/ee/tabby-ui/app/chat/page.css b/ee/tabby-ui/app/chat/page.css index b6339077f8fd..b292c82c6e50 100644 --- a/ee/tabby-ui/app/chat/page.css +++ b/ee/tabby-ui/app/chat/page.css @@ -1,7 +1,7 @@ /* Theming webview content: https://code.visualstudio.com/api/extension-guides/webview#theming-webview-content */ html { - font-size: var(--vscode-font-size, var(--intellij-font-size)); + font-size: var(--vscode-font-size); } .client ::-webkit-scrollbar { @@ -17,16 +17,14 @@ html { --primary: var(--vscode-minimap-infoHighlight); --primary-foreground: var(--vscode-button-foreground); + + --popover: var(--vscode-editorSuggestWidget-background); + --popover-foreground: var(--vscode-editorSuggestWidget-foreground); + + --accent: var(--vscode-editorSuggestWidget-selectedBackground); + --accent-foreground: var(--vscode-editorSuggestWidget-selectedForeground) } .client-vscode .editor-bg { background-color: hsl(var(--vscode-sideBar-background)) } - -.client-intellij body { - --background: var(--intellij-editor-background); - --foreground: var(--intellij-editor-foreground); - --border: var(--intellij-editor-border); - - background-color: hsl(var(--intellij-editor-background)) !important; -} diff --git a/ee/tabby-ui/components/chat/chat-panel.tsx b/ee/tabby-ui/components/chat/chat-panel.tsx index bdf497ac0bad..cfc9ecf42841 100644 --- a/ee/tabby-ui/components/chat/chat-panel.tsx +++ b/ee/tabby-ui/components/chat/chat-panel.tsx @@ -254,7 +254,7 @@ function ChatPanelRenderer( ease: 'easeInOut', duration: 0.1 }} - exit={{ opacity: 0, scale: 0.9, y: 5 }} + exit={{ opacity: 0, scale: 0.9, y: -5 }} > { updateEnableActiveSelection(!enableActiveSelection) }} @@ -299,7 +299,7 @@ function ChatPanelRenderer( ease: 'easeInOut', duration: 0.1 }} - exit={{ opacity: 0, scale: 0.9, y: 5 }} + exit={{ opacity: 0, scale: 0.9, y: -5 }} layout > diff --git a/ee/tabby-ui/components/chat/repo-select.tsx b/ee/tabby-ui/components/chat/repo-select.tsx index 36d841aa24a0..364d97ed38f7 100644 --- a/ee/tabby-ui/components/chat/repo-select.tsx +++ b/ee/tabby-ui/components/chat/repo-select.tsx @@ -126,7 +126,7 @@ export function RepoSelect({ type="button" size="icon" variant="ghost" - className="h-7 w-7 shrink-0 rounded-l-none bg-background" + className="h-7 w-7 shrink-0 rounded-l-none bg-background hover:bg-muted/50" onClick={e => { e.stopPropagation() onChange(undefined) @@ -160,6 +160,7 @@ export function RepoSelect({ setOpen(false) }} title={repo.sourceName} + className="cursor-pointer" >