[offers][style] fix dashboard layout (#496)

* [offers][style] fix dashboard layout

* [offers][fix] fix profile link layout
pull/497/head
Zhang Ziqing 2 years ago committed by GitHub
parent ca17ef9162
commit c86c77d1e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -113,7 +113,7 @@ export default function ProfileComments({
<div className="bh-white h-fit px-4 lg:h-[calc(100vh-4.5rem)] lg:overflow-y-auto">
<div className="bg-white pt-4 lg:sticky lg:top-0">
<div className="flex justify-end">
<div className="grid w-fit space-y-2 lg:grid-cols-1 lg:grid-cols-2 lg:space-y-0 lg:space-x-4">
<div className="grid w-fit grid-cols-1 space-y-2 md:grid-cols-2 md:grid-cols-2 md:space-y-0 md:space-x-4">
<div className="col-span-1 flex justify-end">
{isEditable && (
<Tooltip tooltipContent="Copy this link to edit your profile later">

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

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

Loading…
Cancel
Save