fix profile tab styling
This commit is contained in:
parent
a1c3d0a2dd
commit
2240db9baa
|
@ -31,7 +31,7 @@ export function ControlledTabs(props: TabProps & { activeIndex: number }) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<nav
|
<nav
|
||||||
className={clsx(' space-x-8 border-b border-gray-200', className)}
|
className={clsx('space-x-8 border-b border-gray-200', className)}
|
||||||
aria-label="Tabs"
|
aria-label="Tabs"
|
||||||
>
|
>
|
||||||
{tabs.map((tab, i) => (
|
{tabs.map((tab, i) => (
|
||||||
|
|
|
@ -254,6 +254,7 @@ export function UserPage(props: { user: User }) {
|
||||||
</Row>
|
</Row>
|
||||||
)}
|
)}
|
||||||
<QueryUncontrolledTabs
|
<QueryUncontrolledTabs
|
||||||
|
className="mb-4"
|
||||||
currentPageForAnalytics={'profile'}
|
currentPageForAnalytics={'profile'}
|
||||||
labelClassName={'pb-2 pt-1 '}
|
labelClassName={'pb-2 pt-1 '}
|
||||||
tabs={[
|
tabs={[
|
||||||
|
@ -283,7 +284,7 @@ export function UserPage(props: { user: User }) {
|
||||||
title: 'Stats',
|
title: 'Stats',
|
||||||
content: (
|
content: (
|
||||||
<Col className="mb-8">
|
<Col className="mb-8">
|
||||||
<Row className={'mb-8 flex-wrap items-center gap-6'}>
|
<Row className="mb-8 flex-wrap items-center gap-x-6 gap-y-2">
|
||||||
<FollowingButton user={user} />
|
<FollowingButton user={user} />
|
||||||
<FollowersButton user={user} />
|
<FollowersButton user={user} />
|
||||||
<ReferralsButton user={user} />
|
<ReferralsButton user={user} />
|
||||||
|
|
Loading…
Reference in New Issue
Block a user