Skip to content

Commit 1d04c54

Browse files
committed
style(web): Increase height of bug fix and basic page message box
1 parent 644d7e4 commit 1d04c54

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

web/src/pages/basic/basic.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const Basic: FC = () => {
6060

6161
return (
6262
<div className="flex h-[calc(100vh-56px)] w-full items-center justify-center text-black dark:text-white">
63-
<div className="w-full max-w-[768px]">
63+
<div className="w-full max-w-[1024px]">
6464
<div className="w-full rounded-md p-2">
6565
<div className="flex h-full w-full items-center justify-center gap-3">
6666
<div className="flex w-full flex-col">
@@ -72,7 +72,7 @@ const Basic: FC = () => {
7272
type="number"
7373
value={minToken}
7474
onChange={(e) => setMinToken(e.target.value)}
75-
className="dark:bg-black-1 w-full rounded-md bg-gray-200 p-3 outline-none"
75+
className="w-full rounded-md bg-gray-200 p-3 outline-none dark:bg-black-1"
7676
/>
7777
</div>
7878
<div className="flex w-full flex-col">
@@ -84,7 +84,7 @@ const Basic: FC = () => {
8484
type="number"
8585
value={maxToken}
8686
onChange={(e) => setMaxToken(e.target.value)}
87-
className="dark:bg-black-1 w-full rounded-md bg-gray-200 p-3 outline-none"
87+
className="w-full rounded-md bg-gray-200 p-3 outline-none dark:bg-black-1"
8888
/>
8989
</div>
9090
<div className="flex w-full flex-col">
@@ -96,14 +96,14 @@ const Basic: FC = () => {
9696
type="text"
9797
value={service}
9898
onChange={(e) => setService(e.target.value)}
99-
className="dark:bg-black-1 w-full rounded-md bg-gray-200 p-3 outline-none"
99+
className="w-full rounded-md bg-gray-200 p-3 outline-none dark:bg-black-1"
100100
/>
101101
</div>
102102
</div>
103103
<div className="mt-4">
104104
<div
105105
ref={messagesRef}
106-
className="h-96 w-full overflow-y-auto rounded-md bg-slate-900 p-3 scrollbar-thin scrollbar-track-transparent scrollbar-corner-transparent"
106+
className="h-[550px] w-full overflow-y-auto rounded-md bg-slate-900 p-3 scrollbar-thin scrollbar-track-transparent scrollbar-corner-transparent"
107107
>
108108
{messages.map((message) =>
109109
message.role === 'user' ? (
@@ -131,7 +131,7 @@ const Basic: FC = () => {
131131
value={input}
132132
onChange={(e) => setInput(e.target.value)}
133133
rows={2}
134-
className="dark:bg-black-1 w-full resize-none rounded-md bg-gray-200 p-4 pr-16 outline-none"
134+
className="w-full resize-none rounded-md bg-gray-200 p-4 pr-16 outline-none dark:bg-black-1"
135135
/>
136136
<button
137137
disabled={!input}

web/src/pages/bug-fix/bug-fix.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const BugFix: FC = () => {
6565

6666
return (
6767
<div className="flex h-[calc(100vh-56px)] w-full items-center justify-center text-black dark:text-white">
68-
<div className="w-full max-w-[768px]">
68+
<div className="w-full max-w-[1024px]">
6969
<div className="w-full rounded-md p-2">
7070
<div className="flex h-full w-full items-center justify-center gap-3">
7171
<div className="flex w-full flex-col">
@@ -77,7 +77,7 @@ const BugFix: FC = () => {
7777
type="number"
7878
value={minToken}
7979
onChange={(e) => setMinToken(e.target.value)}
80-
className="dark:bg-black-1 w-full rounded-md bg-gray-200 p-3 outline-none"
80+
className="w-full rounded-md bg-gray-200 p-3 outline-none dark:bg-black-1"
8181
/>
8282
</div>
8383
<div className="flex w-full flex-col">
@@ -89,7 +89,7 @@ const BugFix: FC = () => {
8989
type="number"
9090
value={maxToken}
9191
onChange={(e) => setMaxToken(e.target.value)}
92-
className="dark:bg-black-1 w-full rounded-md bg-gray-200 p-3 outline-none"
92+
className="w-full rounded-md bg-gray-200 p-3 outline-none dark:bg-black-1"
9393
/>
9494
</div>
9595
<div className="flex w-full flex-col">
@@ -101,7 +101,7 @@ const BugFix: FC = () => {
101101
type="text"
102102
value={service}
103103
onChange={(e) => setService(e.target.value)}
104-
className="dark:bg-black-1 w-full rounded-md bg-gray-200 p-3 outline-none"
104+
className="w-full rounded-md bg-gray-200 p-3 outline-none dark:bg-black-1"
105105
/>
106106
</div>
107107
<div className="flex w-full flex-col">
@@ -113,14 +113,14 @@ const BugFix: FC = () => {
113113
type="text"
114114
value={version}
115115
onChange={(e) => setVersion(e.target.value)}
116-
className="dark:bg-black-1 w-full rounded-md bg-gray-200 p-3 outline-none"
116+
className="w-full rounded-md bg-gray-200 p-3 outline-none dark:bg-black-1"
117117
/>
118118
</div>
119119
</div>
120120
<div className="mt-4">
121121
<div
122122
ref={messagesRef}
123-
className="h-96 w-full overflow-y-auto rounded-md bg-slate-900 p-3 scrollbar-thin scrollbar-track-transparent scrollbar-corner-transparent"
123+
className="h-[550px] w-full overflow-y-auto rounded-md bg-slate-900 p-3 scrollbar-thin scrollbar-track-transparent scrollbar-corner-transparent"
124124
>
125125
{messages.map((message) =>
126126
message.role === 'user' ? (
@@ -148,7 +148,7 @@ const BugFix: FC = () => {
148148
value={bugDescription}
149149
onChange={(e) => setBugDescription(e.target.value)}
150150
rows={2}
151-
className="dark:bg-black-1 w-full resize-none rounded-md bg-gray-200 p-4 pr-16 outline-none"
151+
className="w-full resize-none rounded-md bg-gray-200 p-4 pr-16 outline-none dark:bg-black-1"
152152
/>
153153
<button
154154
disabled={!bugDescription}

0 commit comments

Comments
 (0)