diff options
author | eug-vs <eug-vs@keemail.me> | 2021-03-14 13:50:43 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2021-03-14 13:50:43 +0300 |
commit | 04cca1549d1f9a9cdbe6baf3b35ee7488a206b38 (patch) | |
tree | d46854154174782c8169ac2c4c94db13e6791025 /src/components | |
parent | 296f43c5aef2a128defc3fe016c01f7d6455e6ba (diff) | |
download | commercel-ui-04cca1549d1f9a9cdbe6baf3b35ee7488a206b38.tar.gz |
feat: align columns in ListTable
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/ListTable.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/ListTable.tsx b/src/components/ListTable.tsx index 7c316ed..4bbe633 100644 --- a/src/components/ListTable.tsx +++ b/src/components/ListTable.tsx @@ -25,7 +25,7 @@ const ListTable: React.FC<Props> = ({ items = [], fields, handleRowClick = () => <table className="table-auto w-full"> <thead> <tr className="border-b select-none"> - {fields.map(field => <th key={field.label}>{field.label}</th>)} + {fields.map(field => <th className="pl-3 text-left bg-gray-100" key={field.label}>{field.label}</th>)} </tr> </thead> <tbody> |