Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
β’
80f0eea
1
Parent(s):
1f1e7e0
UI improvement
Browse files
src/app/interface/top-menu/index.tsx
CHANGED
@@ -202,32 +202,32 @@ export function TopMenu() {
|
|
202 |
<div className="flex flex-row flex-grow w-full">
|
203 |
<div className="flex flex-row flex-grow w-full">
|
204 |
<Input
|
205 |
-
placeholder="1.
|
206 |
-
className="w-1/2 bg-neutral-300 text-neutral-800 dark:bg-neutral-300 dark:text-neutral-800 rounded-r-none"
|
207 |
// disabled={atLeastOnePanelIsBusy}
|
208 |
onChange={(e) => {
|
209 |
-
|
210 |
}}
|
211 |
onKeyDown={({ key }) => {
|
212 |
if (key === 'Enter') {
|
213 |
handleSubmit()
|
214 |
}
|
215 |
}}
|
216 |
-
value={
|
217 |
/>
|
218 |
<Input
|
219 |
-
placeholder="2.
|
220 |
-
className="w-1/2 bg-neutral-300 text-neutral-800 dark:bg-neutral-300 dark:text-neutral-800 rounded-l-none rounded-r-none"
|
221 |
// disabled={atLeastOnePanelIsBusy}
|
222 |
onChange={(e) => {
|
223 |
-
|
224 |
}}
|
225 |
onKeyDown={({ key }) => {
|
226 |
if (key === 'Enter') {
|
227 |
handleSubmit()
|
228 |
}
|
229 |
}}
|
230 |
-
value={
|
231 |
/>
|
232 |
</div>
|
233 |
<Button
|
|
|
202 |
<div className="flex flex-row flex-grow w-full">
|
203 |
<div className="flex flex-row flex-grow w-full">
|
204 |
<Input
|
205 |
+
placeholder="1. Little story.."
|
206 |
+
className="w-1/2 bg-neutral-300 text-neutral-800 dark:bg-neutral-300 dark:text-neutral-800 rounded-r-none border-r-stone-100"
|
207 |
// disabled={atLeastOnePanelIsBusy}
|
208 |
onChange={(e) => {
|
209 |
+
setDraftPromptB(e.target.value)
|
210 |
}}
|
211 |
onKeyDown={({ key }) => {
|
212 |
if (key === 'Enter') {
|
213 |
handleSubmit()
|
214 |
}
|
215 |
}}
|
216 |
+
value={draftPromptB}
|
217 |
/>
|
218 |
<Input
|
219 |
+
placeholder="2. Global style (optional)"
|
220 |
+
className="w-1/2 bg-neutral-300 text-neutral-800 dark:bg-neutral-300 dark:text-neutral-800 border-l-stone-100 rounded-l-none rounded-r-none"
|
221 |
// disabled={atLeastOnePanelIsBusy}
|
222 |
onChange={(e) => {
|
223 |
+
setDraftPromptA(e.target.value)
|
224 |
}}
|
225 |
onKeyDown={({ key }) => {
|
226 |
if (key === 'Enter') {
|
227 |
handleSubmit()
|
228 |
}
|
229 |
}}
|
230 |
+
value={draftPromptA}
|
231 |
/>
|
232 |
</div>
|
233 |
<Button
|