diff --git a/webapp/_webapp/src/index.css b/webapp/_webapp/src/index.css index 88ba8954..50d5dce9 100644 --- a/webapp/_webapp/src/index.css +++ b/webapp/_webapp/src/index.css @@ -459,7 +459,7 @@ video, canvas, audio, iframe, embed, object { } .pd-rnd.dragging { - box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 32px; /* horizontal, vertical, blur, spread */ + box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 12px; /* horizontal, vertical, blur, spread */ } .pd-context-menu { diff --git a/webapp/_webapp/src/views/chat/footer/index.tsx b/webapp/_webapp/src/views/chat/footer/index.tsx index 2f31f100..b5c8c389 100644 --- a/webapp/_webapp/src/views/chat/footer/index.tsx +++ b/webapp/_webapp/src/views/chat/footer/index.tsx @@ -121,7 +121,7 @@ export function PromptInput() { return (
{/* Only show one popup at a time - priority: prompts > actions > model selection */} - {prompts.length > 0 && } + {prompt.startsWith("/") && } {prompts.length === 0 && actions.length > 0 && } {prompts.length === 0 && actions.length === 0 && showModelSelection && ( diff --git a/webapp/_webapp/src/views/chat/footer/toolbar/prompt-selection.tsx b/webapp/_webapp/src/views/chat/footer/toolbar/prompt-selection.tsx index 79d7c286..450d2aa6 100644 --- a/webapp/_webapp/src/views/chat/footer/toolbar/prompt-selection.tsx +++ b/webapp/_webapp/src/views/chat/footer/toolbar/prompt-selection.tsx @@ -35,5 +35,13 @@ export function PromptSelection({ prompts }: PromptSelectionProps) { inputRef.current?.focus(); }, [setPrompt, inputRef]); + if (prompts.length === 0) { + return ( +
+
No prompts found
+
+ ); + } + return ; } diff --git a/webapp/_webapp/src/views/settings/setting-item-input.tsx b/webapp/_webapp/src/views/settings/setting-item-input.tsx index 54f2583e..634799d8 100644 --- a/webapp/_webapp/src/views/settings/setting-item-input.tsx +++ b/webapp/_webapp/src/views/settings/setting-item-input.tsx @@ -21,7 +21,7 @@ export const SettingItemInput = ({ }: SettingItemInputProps) => (
-

{label}

+

{label}

(
-

{label}

+

{label}

{description}