Skip to content

Commit f5d98ed

Browse files
committed
Tightened up a bit.
1 parent 41ede88 commit f5d98ed

File tree

1 file changed

+12
-17
lines changed

1 file changed

+12
-17
lines changed

browser-extension/tests/playground/claude.tsx

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -305,9 +305,18 @@ export const ClaudePrototype = () => {
305305
return (
306306
<div className='min-h-screen bg-white'>
307307
{/* Header controls */}
308-
<div className='p-6 border-b'>
308+
<div className='p-3 border-b'>
309309
<div className='flex flex-wrap gap-3 items-center'>
310-
{/* Toggle filters */}
310+
<div className='relative flex-1 max-w-xs'>
311+
<Search className='absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-400' />
312+
<input
313+
type='text'
314+
placeholder='Search drafts...'
315+
value={searchQuery}
316+
onChange={(e) => setSearchQuery(e.target.value)}
317+
className='w-full pl-9 pr-3 py-1.5 border border-gray-300 rounded-md text-sm focus:outline-none focus:ring-2 focus:ring-blue-500'
318+
/>
319+
</div>
311320
<label className='flex items-center gap-2 cursor-pointer'>
312321
<input
313322
type='checkbox'
@@ -317,7 +326,6 @@ export const ClaudePrototype = () => {
317326
/>
318327
<span className='text-sm'>Has code</span>
319328
</label>
320-
321329
<label className='flex items-center gap-2 cursor-pointer'>
322330
<input
323331
type='checkbox'
@@ -327,19 +335,6 @@ export const ClaudePrototype = () => {
327335
/>
328336
<span className='text-sm'>Private only</span>
329337
</label>
330-
331-
332-
{/* Search */}
333-
<div className='relative flex-1 max-w-xs'>
334-
<Search className='absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-400' />
335-
<input
336-
type='text'
337-
placeholder='Search drafts...'
338-
value={searchQuery}
339-
onChange={(e) => setSearchQuery(e.target.value)}
340-
className='w-full pl-9 pr-3 py-1.5 border border-gray-300 rounded-md text-sm focus:outline-none focus:ring-2 focus:ring-blue-500'
341-
/>
342-
</div>
343338
</div>
344339

345340
{/* Bulk actions bar */}
@@ -397,7 +392,7 @@ export const ClaudePrototype = () => {
397392
onClick={() => setSortBy(sortBy === 'edited-newest' ? 'edited-oldest' : 'edited-newest')}
398393
className='flex items-center gap-1 hover:text-gray-700'
399394
>
400-
Edited
395+
EDITED
401396
{sortBy === 'edited-newest' ? (
402397
<ArrowDown className='w-3 h-3' />
403398
) : (

0 commit comments

Comments
 (0)