[offers][style] fix dashboard layout

pull/496/head
Zhang Ziqing 3 years ago
parent ca17ef9162
commit bb1bb4f740

@ -247,9 +247,6 @@ export default function OffersTable({
(offers.length === 0 && ( (offers.length === 0 && (
<div className="py-16 text-lg"> <div className="py-16 text-lg">
<div className="flex justify-center">No data yet🥺</div> <div className="flex justify-center">No data yet🥺</div>
<div className="flex justify-center">
Please try another set of filters.
</div>
</div> </div>
))} ))}
</div> </div>

@ -46,8 +46,8 @@ export default function ProfilesDashboard() {
if (userProfiles.length === 0) { if (userProfiles.length === 0) {
return ( return (
<div className="flex w-full"> <div className="flex w-full">
<div className="m-auto mx-auto w-full justify-center text-xl"> <div className="w-full justify-center space-y-8 py-16 text-xl">
<div className="mb-8 flex w-full flex-row justify-center"> <div className="flex w-full flex-row justify-center">
<h2>You have not saved any offer profiles yet.</h2> <h2>You have not saved any offer profiles yet.</h2>
</div> </div>
<div className="flex flex-row justify-center"> <div className="flex flex-row justify-center">

Loading…
Cancel
Save