Skip to content

Commit 2efdc9d

Browse files
committed
Revert "tui: add more editor bottom padding for prompt controls"
This reverts commit 9813537.
1 parent 0c24588 commit 2efdc9d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/app/src/components/prompt-input.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1214,15 +1214,15 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
12141214
onKeyDown={handleKeyDown}
12151215
classList={{
12161216
"select-text": true,
1217-
"w-full pl-3 pr-2 pt-2 pb-[76px] text-14-regular text-text-strong focus:outline-none whitespace-pre-wrap": true,
1217+
"w-full pl-3 pr-2 pt-2 pb-[52px] text-14-regular text-text-strong focus:outline-none whitespace-pre-wrap": true,
12181218
"[&_[data-type=file]]:text-syntax-property": true,
12191219
"[&_[data-type=agent]]:text-syntax-type": true,
12201220
"font-mono!": store.mode === "shell",
12211221
}}
12221222
/>
12231223
<Show when={!prompt.dirty()}>
12241224
<div
1225-
class="absolute top-0 inset-x-0 pl-3 pr-2 pt-2 pb-[76px] text-14-regular text-text-weak pointer-events-none whitespace-nowrap truncate"
1225+
class="absolute top-0 inset-x-0 pl-3 pr-2 pt-2 pb-[52px] text-14-regular text-text-weak pointer-events-none whitespace-nowrap truncate"
12261226
classList={{ "font-mono!": store.mode === "shell" }}
12271227
>
12281228
{placeholder()}

0 commit comments

Comments
 (0)