diff --git a/gui/src/components/index.ts b/gui/src/components/index.ts index 8f1455c67..d1892bff8 100644 --- a/gui/src/components/index.ts +++ b/gui/src/components/index.ts @@ -134,7 +134,7 @@ export function parseColorForHex(colorVar: string): string { } export const Button = styled.button` - padding: 10px 12px; + padding: 6px 12px; margin: 8px 0; border-radius: ${defaultBorderRadius}; @@ -162,13 +162,13 @@ type NumberInputProps = { }; export const SecondaryButton = styled.button` - padding: 10px 12px; + padding: 6px 12px; margin: 8px 0; border-radius: ${defaultBorderRadius}; - border: 1px solid ${vscForeground}; + border: 1px solid ${vscInputBorder}; color: ${vscForeground}; - background-color: inherit; + background-color: ${vscInputBackground}; &:disabled { color: gray; diff --git a/gui/src/pages/config/ScopeSelect.tsx b/gui/src/pages/config/ScopeSelect.tsx index 91602f13d..a9761a5ea 100644 --- a/gui/src/pages/config/ScopeSelect.tsx +++ b/gui/src/pages/config/ScopeSelect.tsx @@ -32,7 +32,7 @@ export function ScopeSelect() { return (
- +
{selectedDisplay?.iconUrl ? ( diff --git a/gui/src/pages/config/index.tsx b/gui/src/pages/config/index.tsx index 3f9cc611b..c66ad80d0 100644 --- a/gui/src/pages/config/index.tsx +++ b/gui/src/pages/config/index.tsx @@ -154,7 +154,7 @@ function ConfigPage() { onClick={handleOpenConfig} className="!my-0 max-w-[400px]" > - Open configuration file + Open config file
diff --git a/gui/src/pages/gui/Chat.tsx b/gui/src/pages/gui/Chat.tsx index 5f676303a..227eb1154 100644 --- a/gui/src/pages/gui/Chat.tsx +++ b/gui/src/pages/gui/Chat.tsx @@ -365,9 +365,11 @@ export function Chat() { useAutoScroll(stepsDivRef, history); + const showPageHeader = isInEditMode || usePlatform; + return ( <> - {(isInEditMode || usePlatform) && ( + {showPageHeader && ( 0 ? "flex-1" : ""}`} + className={`overflow-y-scroll ${showPageHeader ? "" : "pt-[8px]"} ${showScrollbar ? "thin-scrollbar" : "no-scrollbar"} ${history.length > 0 ? "flex-1" : ""}`} > {highlights} {history.map((item, index: number) => (