forked from github/plane
[WEB-698] chore: profile activity page scrollbar added (#3958)
* chore: profile activity page scrollbar added * chore: profile activity page padding improvement
This commit is contained in:
parent
13bbb9cde4
commit
94f1e6d957
@ -54,12 +54,12 @@ const ProfileActivityPage: NextPageWithLayout = observer(() => {
|
|||||||
currentUser?.id === userId && !!currentWorkspaceRole && currentWorkspaceRole >= EUserWorkspaceRoles.MEMBER;
|
currentUser?.id === userId && !!currentWorkspaceRole && currentWorkspaceRole >= EUserWorkspaceRoles.MEMBER;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="h-full w-full px-5 py-5 md:px-9 flex flex-col overflow-hidden">
|
<div className="h-full w-full py-5 flex flex-col overflow-hidden">
|
||||||
<div className="flex items-center justify-between gap-2">
|
<div className="flex items-center justify-between gap-2 px-5 md:px-9">
|
||||||
<h3 className="text-lg font-medium">Recent activity</h3>
|
<h3 className="text-lg font-medium">Recent activity</h3>
|
||||||
{canDownloadActivity && <DownloadActivityButton />}
|
{canDownloadActivity && <DownloadActivityButton />}
|
||||||
</div>
|
</div>
|
||||||
<div className="h-full flex flex-col overflow-y-auto">
|
<div className="h-full flex flex-col overflow-y-auto vertical-scrollbar scrollbar-md px-5 md:px-9">
|
||||||
{activityPages}
|
{activityPages}
|
||||||
{pageCount < totalPages && resultsCount !== 0 && (
|
{pageCount < totalPages && resultsCount !== 0 && (
|
||||||
<div className="flex items-center justify-center text-xs w-full">
|
<div className="flex items-center justify-center text-xs w-full">
|
||||||
|
Loading…
Reference in New Issue
Block a user