Skip to content

Commit

Permalink
fix(ui): use correct colspan for 'No results.' message in Settings > …
Browse files Browse the repository at this point in the history
…Logs (#1325)

* fix(ui): use correct colspan for 'No results.' message in Settings > Logs

* fix(ui): also fix colspan of pagination row
  • Loading branch information
TheCatLady committed Mar 30, 2021
1 parent 77911c0 commit 5c135c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Settings/SettingsLogs/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ const SettingsLogs: React.FC = () => {

{data.results.length === 0 && (
<tr className="relative h-24 p-2 text-white">
<Table.TD colSpan={4} noPadding>
<Table.TD colSpan={5} noPadding>
<div className="flex flex-col items-center justify-center w-screen p-6 lg:w-full">
<span className="text-base">
{intl.formatMessage(globalMessages.noresults)}
Expand All @@ -418,7 +418,7 @@ const SettingsLogs: React.FC = () => {
</tr>
)}
<tr className="bg-gray-700">
<Table.TD colSpan={6} noPadding>
<Table.TD colSpan={5} noPadding>
<nav
className="flex flex-col items-center w-screen px-6 py-3 space-x-4 space-y-3 sm:space-y-0 sm:flex-row lg:w-full"
aria-label="Pagination"
Expand Down

0 comments on commit 5c135c9

Please sign in to comment.