mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2025-07-28 04:33:42 +08:00
[offers][fix] remove dark theme for table (#420)
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user