@@ -109,18 +109,18 @@ export function PopupRoot({ drafts }: PopupRootProps) {
109109 < div className = 'bg-white' >
110110 { /* Bulk actions bar - floating popup */ }
111111 { 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' >
115115 Copy
116116 </ 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' >
118118 Preview
119119 </ 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' >
121121 Discard
122122 </ 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' >
124124 Open
125125 </ button >
126126 </ div >
@@ -133,7 +133,7 @@ export function PopupRoot({ drafts }: PopupRootProps) {
133133 < col className = 'w-10' />
134134 < col />
135135 </ colgroup >
136- < thead className = 'border-b border- gray-400' >
136+ < thead className = 'border-gray-400 border-b ' >
137137 < tr >
138138 < th scope = 'col' className = 'px-3 py-3' >
139139 < input
@@ -144,20 +144,20 @@ export function PopupRoot({ drafts }: PopupRootProps) {
144144 className = 'rounded'
145145 />
146146 </ 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 ' >
148148 < div className = 'relative' >
149149 < div className = 'flex items-center gap-1' >
150150 < 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' />
152152 < input
153153 type = 'text'
154154 placeholder = 'Search drafts...'
155155 value = { filters . searchQuery }
156156 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 '
158158 />
159159 </ div >
160- < div className = 'relative flex overflow-hidden gap-1' >
160+ < div className = 'relative flex gap-1 overflow-hidden ' >
161161 < button
162162 type = 'button'
163163 onClick = { ( ) => updateFilter ( 'showTrashed' , ! filters . showTrashed ) }
@@ -169,11 +169,11 @@ export function PopupRoot({ drafts }: PopupRootProps) {
169169 'border' ,
170170 ) }
171171 >
172- < Trash2 className = 'w -3 h -3' />
172+ < Trash2 className = 'h -3 w -3' />
173173 { filters . showTrashed ? (
174- < Eye className = 'w -3 h -3' />
174+ < Eye className = 'h -3 w -3' />
175175 ) : (
176- < EyeOff className = 'w -3 h -3' />
176+ < EyeOff className = 'h -3 w -3' />
177177 ) }
178178 </ button >
179179 < MultiSegment < FilterState [ 'sentFilter' ] >
@@ -207,7 +207,7 @@ export function PopupRoot({ drafts }: PopupRootProps) {
207207 'border' ,
208208 ) }
209209 >
210- < Settings className = 'w -3 h -3' />
210+ < Settings className = 'h -3 w -3' />
211211 </ button >
212212 </ div >
213213 </ div >
@@ -244,11 +244,11 @@ function commentRow(
244244 < td className = 'px-3 py-3' >
245245 < div className = 'space-y-1' >
246246 { /* 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 ' >
249249 { enhancer . tableUpperDecoration ( row . spot ) }
250250 </ div >
251- < div className = 'flex items-center gap-1 flex-shrink-0 ' >
251+ < div className = 'flex flex-shrink-0 items-center gap-1' >
252252 { row . latestDraft . stats . links . length > 0 && (
253253 < Badge type = 'link' text = { row . latestDraft . stats . links . length } />
254254 ) }
@@ -266,14 +266,14 @@ function commentRow(
266266
267267 { /* Title */ }
268268 < 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' >
270270 { enhancer . tableTitle ( row . spot ) }
271271 </ a >
272272 < Badge type = { row . isSent ? 'sent' : 'unsent' } />
273273 { row . isTrashed && < Badge type = 'trashed' /> }
274274 </ div >
275275 { /* Draft */ }
276- < div className = 'text-sm truncate ' >
276+ < div className = 'truncate text-sm' >
277277 < span className = 'text-gray-500' > { row . latestDraft . content . substring ( 0 , 100 ) } …</ span >
278278 </ div >
279279 </ div >
@@ -283,9 +283,9 @@ function commentRow(
283283}
284284
285285const 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' >
289289 Your drafts will appear here when you start typing in comment boxes across GitHub and Reddit.
290290 </ p >
291291 < div className = 'space-y-2' >
@@ -301,8 +301,8 @@ const EmptyState = () => (
301301)
302302
303303const 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 >
306306 < button type = 'button' onClick = { onClearFilters } className = 'text-blue-600 hover:underline' >
307307 Clear filters
308308 </ button >
0 commit comments