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

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

* fix(ui): also fix colspan of pagination row
pull/1321/head
TheCatLady 4 years ago committed by GitHub
parent 77911c03e9
commit 5c135c9974
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -397,7 +397,7 @@ const SettingsLogs: React.FC = () => {
{data.results.length === 0 && ( {data.results.length === 0 && (
<tr className="relative h-24 p-2 text-white"> <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"> <div className="flex flex-col items-center justify-center w-screen p-6 lg:w-full">
<span className="text-base"> <span className="text-base">
{intl.formatMessage(globalMessages.noresults)} {intl.formatMessage(globalMessages.noresults)}
@ -418,7 +418,7 @@ const SettingsLogs: React.FC = () => {
</tr> </tr>
)} )}
<tr className="bg-gray-700"> <tr className="bg-gray-700">
<Table.TD colSpan={6} noPadding> <Table.TD colSpan={5} noPadding>
<nav <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" 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" aria-label="Pagination"

Loading…
Cancel
Save