@@ -109,18 +109,18 @@ export function PopupRoot({ drafts }: PopupRootProps) {
109
109
< div className = 'bg-white' >
110
110
{ /* Bulk actions bar - floating popup */ }
111
111
{ selectedIds . size > 0 && (
112
- < div className = 'fixed bottom-6 left-1/2 transform -translate-x-1/2 p -3 bg-blue-50 rounded-md shadow-lg border border-blue-200 flex items-center gap -3 z-50 ' >
113
- < span className = 'text-sm font-medium' > { selectedIds . size } selected</ span >
114
- < button type = 'button' className = 'text-sm text- blue-600 hover:underline' >
112
+ < div className = '-translate-x-1/2 fixed bottom-6 left-1/2 z-50 flex transform items-center gap -3 rounded-md border border-blue-200 bg-blue-50 p -3 shadow-lg ' >
113
+ < span className = 'font-medium text-sm ' > { selectedIds . size } selected</ span >
114
+ < button type = 'button' className = 'text-blue-600 text-sm hover:underline' >
115
115
Copy
116
116
</ button >
117
- < button type = 'button' className = 'text-sm text- blue-600 hover:underline' >
117
+ < button type = 'button' className = 'text-blue-600 text-sm hover:underline' >
118
118
Preview
119
119
</ button >
120
- < button type = 'button' className = 'text-sm text- blue-600 hover:underline' >
120
+ < button type = 'button' className = 'text-blue-600 text-sm hover:underline' >
121
121
Discard
122
122
</ button >
123
- < button type = 'button' className = 'text-sm text- blue-600 hover:underline' >
123
+ < button type = 'button' className = 'text-blue-600 text-sm hover:underline' >
124
124
Open
125
125
</ button >
126
126
</ div >
@@ -133,7 +133,7 @@ export function PopupRoot({ drafts }: PopupRootProps) {
133
133
< col className = 'w-10' />
134
134
< col />
135
135
</ colgroup >
136
- < thead className = 'border-b border- gray-400' >
136
+ < thead className = 'border-gray-400 border-b ' >
137
137
< tr >
138
138
< th scope = 'col' className = 'px-3 py-3' >
139
139
< input
@@ -144,20 +144,20 @@ export function PopupRoot({ drafts }: PopupRootProps) {
144
144
className = 'rounded'
145
145
/>
146
146
</ th >
147
- < th scope = 'col' className = 'px-3 py-3 text-left text-xs text- gray-500' >
147
+ < th scope = 'col' className = 'px-3 py-3 text-left text-gray-500 text-xs ' >
148
148
< div className = 'relative' >
149
149
< div className = 'flex items-center gap-1' >
150
150
< div className = 'relative flex-1' >
151
- < Search className = 'absolute left-1 top-1/2 -translate-y-1/2 w -4 h -4 text-gray-400' />
151
+ < Search className = '-translate-y-1/2 absolute top-1/2 left-1 h -4 w -4 text-gray-400' />
152
152
< input
153
153
type = 'text'
154
154
placeholder = 'Search drafts...'
155
155
value = { filters . searchQuery }
156
156
onChange = { ( e ) => updateFilter ( 'searchQuery' , e . target . value ) }
157
- className = 'w-full pl-5 pr-3 h-5 border border-gray-300 rounded-sm text-sm font-normal focus:outline-none focus:border-blue-500'
157
+ className = 'h-5 w-full rounded-sm border border-gray-300 pr-3 pl-5 font-normal text-sm focus:border-blue-500 focus:outline-none '
158
158
/>
159
159
</ div >
160
- < div className = 'relative flex overflow-hidden gap-1' >
160
+ < div className = 'relative flex gap-1 overflow-hidden ' >
161
161
< button
162
162
type = 'button'
163
163
onClick = { ( ) => updateFilter ( 'showTrashed' , ! filters . showTrashed ) }
@@ -169,11 +169,11 @@ export function PopupRoot({ drafts }: PopupRootProps) {
169
169
'border' ,
170
170
) }
171
171
>
172
- < Trash2 className = 'w -3 h -3' />
172
+ < Trash2 className = 'h -3 w -3' />
173
173
{ filters . showTrashed ? (
174
- < Eye className = 'w -3 h -3' />
174
+ < Eye className = 'h -3 w -3' />
175
175
) : (
176
- < EyeOff className = 'w -3 h -3' />
176
+ < EyeOff className = 'h -3 w -3' />
177
177
) }
178
178
</ button >
179
179
< MultiSegment < FilterState [ 'sentFilter' ] >
@@ -207,7 +207,7 @@ export function PopupRoot({ drafts }: PopupRootProps) {
207
207
'border' ,
208
208
) }
209
209
>
210
- < Settings className = 'w -3 h -3' />
210
+ < Settings className = 'h -3 w -3' />
211
211
</ button >
212
212
</ div >
213
213
</ div >
@@ -244,11 +244,11 @@ function commentRow(
244
244
< td className = 'px-3 py-3' >
245
245
< div className = 'space-y-1' >
246
246
{ /* Context line */ }
247
- < div className = 'flex items-center justify-between gap-1.5 text-xs text- gray-600' >
248
- < div className = 'flex items-center gap-1.5 min-w-0 flex-1' >
247
+ < div className = 'flex items-center justify-between gap-1.5 text-gray-600 text-xs ' >
248
+ < div className = 'flex min-w-0 flex-1 items-center gap-1.5 ' >
249
249
{ enhancer . tableUpperDecoration ( row . spot ) }
250
250
</ div >
251
- < div className = 'flex items-center gap-1 flex-shrink-0 ' >
251
+ < div className = 'flex flex-shrink-0 items-center gap-1' >
252
252
{ row . latestDraft . stats . links . length > 0 && (
253
253
< Badge type = 'link' text = { row . latestDraft . stats . links . length } />
254
254
) }
@@ -266,14 +266,14 @@ function commentRow(
266
266
267
267
{ /* Title */ }
268
268
< div className = 'flex items-center gap-1' >
269
- < a href = 'TODO' className = 'text-sm font-medium hover:underline truncate ' >
269
+ < a href = 'TODO' className = 'truncate font-medium text-sm hover:underline' >
270
270
{ enhancer . tableTitle ( row . spot ) }
271
271
</ a >
272
272
< Badge type = { row . isSent ? 'sent' : 'unsent' } />
273
273
{ row . isTrashed && < Badge type = 'trashed' /> }
274
274
</ div >
275
275
{ /* Draft */ }
276
- < div className = 'text-sm truncate ' >
276
+ < div className = 'truncate text-sm' >
277
277
< span className = 'text-gray-500' > { row . latestDraft . content . substring ( 0 , 100 ) } …</ span >
278
278
</ div >
279
279
</ div >
@@ -283,9 +283,9 @@ function commentRow(
283
283
}
284
284
285
285
const EmptyState = ( ) => (
286
- < div className = 'max-w-4xl mx-auto text-center py-16 ' >
287
- < h2 className = 'text-2xl font-semibold mb-4 ' > No comments open</ h2 >
288
- < p className = 'text-gray-600 mb-6 ' >
286
+ < div className = 'mx-auto max-w-4xl py-16 text-center' >
287
+ < h2 className = 'mb-4 font-semibold text-2xl ' > No comments open</ h2 >
288
+ < p className = 'mb-6 text-gray-600' >
289
289
Your drafts will appear here when you start typing in comment boxes across GitHub and Reddit.
290
290
</ p >
291
291
< div className = 'space-y-2' >
@@ -301,8 +301,8 @@ const EmptyState = () => (
301
301
)
302
302
303
303
const NoMatchesState = ( { onClearFilters } : { onClearFilters : ( ) => void } ) => (
304
- < div className = 'text-center py-16' >
305
- < p className = 'text-gray-600 mb-4 ' > No matches found</ p >
304
+ < div className = 'py-16 text-center ' >
305
+ < p className = 'mb-4 text-gray-600' > No matches found</ p >
306
306
< button type = 'button' onClick = { onClearFilters } className = 'text-blue-600 hover:underline' >
307
307
Clear filters
308
308
</ button >
0 commit comments