refactor: cleanup css

This commit is contained in:
iCrawl
2022-07-25 00:16:31 +02:00
parent 4bda24678a
commit 4fff6076e7
21 changed files with 114 additions and 99 deletions

View File

@@ -19,7 +19,7 @@ export function Table({ rows, columns, columnStyles, className }: TableProps) {
<thead>
<tr>
{columns.map((column) => (
<th key={column} className="border-b z-10 text-left text-sm pl-2 border-slate-400">
<th key={column} className="border-b z-10 text-left text-sm pl-2 border-gray">
{column}
</th>
))}
@@ -31,9 +31,7 @@ export function Table({ rows, columns, columnStyles, className }: TableProps) {
{Object.entries(row).map(([colName, val]) => (
<td
key={colName}
className={`p-2 text-sm border-b text-left border-slate-300 break-all ${
columnStyles?.[colName] ?? ''
}`}
className={`p-2 text-sm border-b text-left border-gray break-all ${columnStyles?.[colName] ?? ''}`}
>
{val}
</td>