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() {
|
function renderHeader() {
|
||||||
return (
|
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>
|
<tr>
|
||||||
{[
|
{[
|
||||||
'Company',
|
'Company',
|
||||||
@ -145,7 +145,7 @@ export default function OffersTable({
|
|||||||
<Spinner display="block" size="lg" />
|
<Spinner display="block" size="lg" />
|
||||||
</div>
|
</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()}
|
{renderHeader()}
|
||||||
<tbody>
|
<tbody>
|
||||||
{offers.map((offer) => (
|
{offers.map((offer) => (
|
||||||
|
@ -19,13 +19,13 @@ export default function OffersTablePagination({
|
|||||||
<nav
|
<nav
|
||||||
aria-label="Table navigation"
|
aria-label="Table navigation"
|
||||||
className="flex items-center justify-between p-4">
|
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
|
Showing
|
||||||
<span className="font-semibold text-gray-900 dark:text-white">
|
<span className="font-semibold text-gray-900">
|
||||||
{` ${startNumber} - ${endNumber} `}
|
{` ${startNumber} - ${endNumber} `}
|
||||||
</span>
|
</span>
|
||||||
{`of `}
|
{`of `}
|
||||||
<span className="font-semibold text-gray-900 dark:text-white">
|
<span className="font-semibold text-gray-900">
|
||||||
{pagination.totalItems}
|
{pagination.totalItems}
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
|
Reference in New Issue
Block a user