Skip to content

Commit ec35d4d

Browse files
committed
feat: aligned button widths in header
1 parent e995867 commit ec35d4d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

app/src/components/ChatList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export default function ChatList() {
6868
<button
6969
disabled={creating}
7070
onClick={() => void newChat()}
71-
class="ml-auto rounded-lg bg-hermes-400 px-3 py-1.5 text-xs font-medium text-zinc-950 hover:bg-hermes-500 disabled:opacity-50 transition-colors"
71+
class="w-20 ml-auto rounded-lg bg-hermes-400 px-3 py-1.5 text-xs font-medium text-zinc-950 hover:bg-hermes-500 disabled:opacity-50 transition-colors"
7272
>
7373
{creating ? 'Starting…' : 'New chat'}
7474
</button>

app/src/components/JobList.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,13 +229,13 @@ export default function JobList() {
229229
<div class="ml-auto flex items-center gap-2">
230230
<button
231231
onClick={() => navigate('/create')}
232-
class="rounded-lg bg-hermes-400 px-3 py-1.5 text-xs font-medium text-zinc-950 hover:bg-hermes-500 transition-colors"
232+
class="w-20 rounded-lg bg-hermes-400 px-3 py-1.5 text-xs font-medium text-zinc-950 hover:bg-hermes-500 transition-colors"
233233
>
234234
Create
235235
</button>
236236
<button
237237
onClick={() => navigate('/chats')}
238-
class="rounded-lg border border-zinc-700 px-3 py-1.5 text-xs font-medium text-zinc-300 hover:bg-zinc-800 transition-colors"
238+
class="w-20 rounded-lg border border-zinc-700 px-3 py-1.5 text-xs font-medium text-zinc-300 hover:bg-zinc-800 transition-colors"
239239
>
240240
Chat
241241
</button>

0 commit comments

Comments
 (0)