Skip to content

Commit

Permalink
Update Table.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson authored Jan 23, 2025
1 parent c869710 commit 3a6f946
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website/src/components/SearchPage/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,22 +140,22 @@ export const Table: FC<TableProps> = ({
<table className='min-w-full text-left border-collapse'>
<thead>
<tr className='border-gray-400 border-b mb-100'>
<th className='px-2 py-3 md:pl-6 text-xs text-gray-500 cursor-pointer text-left'>
<th className='px-2 py-2 md:pl-6 text-xs text-gray-500 cursor-pointer text-left'>
{selectedSeqs.size > 0 && (
<MaterialSymbolsClose className='inline w-3 h-3 mx-0.5' onClick={clearSelection} />
)}
</th>
<th
onClick={() => handleSort(primaryKey)}
className='px-2 py-3 md:pl-6 text-xs font-medium tracking-wider text-gray-500 uppercase cursor-pointer text-left'
className='px-2 py-2 md:pl-6 text-xs font-medium tracking-wider text-gray-500 uppercase cursor-pointer text-left'
>
{capitalCase(primaryKey)} {orderBy.field === primaryKey && orderIcon}
</th>
{columns.map((c) => (
<th
key={c.field}
onClick={() => handleSort(c.field)}
className='px-2 py-3 text-xs font-medium tracking-wider text-gray-500 uppercase cursor-pointer last:pr-6 text-left'
className='px-2 py-2 text-xs font-medium tracking-wider text-gray-500 uppercase cursor-pointer last:pr-6 text-left'
style={{
minWidth: getColumnWidthStyle(c.columnWidth),
}}
Expand Down

0 comments on commit 3a6f946

Please sign in to comment.