[offers][fix] remove dark theme for table (#420)

pull/421/head
Zhang Ziqing 2 years ago committed by GitHub
parent b7f4cf93a0
commit 26055d2ed0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -109,7 +109,7 @@ export default function OffersTable({
function renderHeader() {
return (
<thead className="bg-gray-50 text-xs uppercase text-gray-700 dark:bg-gray-700 dark:text-gray-400">
<thead className="bg-gray-50 text-xs uppercase text-gray-700">
<tr>
{[
'Company',
@ -145,7 +145,7 @@ export default function OffersTable({
<Spinner display="block" size="lg" />
</div>
) : (
<table className="w-full text-left text-sm text-gray-500 dark:text-gray-400">
<table className="w-full text-left text-sm text-gray-500">
{renderHeader()}
<tbody>
{offers.map((offer) => (

@ -19,13 +19,13 @@ export default function OffersTablePagination({
<nav
aria-label="Table navigation"
className="flex items-center justify-between p-4">
<span className="text-sm font-normal text-gray-500 dark:text-gray-400">
<span className="text-sm font-normal text-gray-500">
Showing
<span className="font-semibold text-gray-900 dark:text-white">
<span className="font-semibold text-gray-900">
{` ${startNumber} - ${endNumber} `}
</span>
{`of `}
<span className="font-semibold text-gray-900 dark:text-white">
<span className="font-semibold text-gray-900">
{pagination.totalItems}
</span>
</span>

Loading…
Cancel
Save