diff --git a/packages/app/src/components/prompt-input.tsx b/packages/app/src/components/prompt-input.tsx index 96981f552..51f1e143c 100644 --- a/packages/app/src/components/prompt-input.tsx +++ b/packages/app/src/components/prompt-input.tsx @@ -1681,7 +1681,7 @@ export const PromptInput: Component = (props) => { return (
{ @@ -1793,14 +1793,14 @@ export const PromptInput: Component = (props) => { onKeyDown={handleKeyDown} classList={{ "select-text": true, - "w-full px-2 py-3 pr-12 text-14-regular text-text-strong focus:outline-none whitespace-pre-wrap": true, + "w-full p-3 pr-12 text-14-regular text-text-strong focus:outline-none whitespace-pre-wrap": true, "[&_[data-type=file]]:text-syntax-property": true, "[&_[data-type=agent]]:text-syntax-type": true, "font-mono!": store.mode === "shell", }} /> -
+
{store.mode === "shell" ? language.t("prompt.placeholder.shell") : language.t("prompt.placeholder.normal", { example: language.t(EXAMPLES[store.placeholder]) })} diff --git a/packages/ui/src/styles/tailwind/index.css b/packages/ui/src/styles/tailwind/index.css index d0a414fee..1515a5ecf 100644 --- a/packages/ui/src/styles/tailwind/index.css +++ b/packages/ui/src/styles/tailwind/index.css @@ -65,6 +65,7 @@ --shadow-xs-border-base: var(--shadow-xs-border-base); --shadow-xs-border-select: var(--shadow-xs-border-select); --shadow-xs-border-focus: var(--shadow-xs-border-focus); + --shadow-xs-border-hover: var(--shadow-xs-border-hover); --animate-pulse: var(--animate-pulse); }