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

* [offers][style] fix dashboard layout

* [offers][fix] fix profile link layout
This commit is contained in:
Zhang Ziqing
2022-11-03 12:20:51 +08:00
committed by GitHub
parent ca17ef9162
commit c86c77d1e0
3 changed files with 3 additions and 6 deletions

View File

@@ -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">

View File

@@ -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>