Change activity feed to white bg, no hover bg, smaller width, centered
This commit is contained in:
parent
cc5312f52e
commit
33f4965fa4
|
@ -75,16 +75,18 @@ export function ActivityFeed(props: {
|
||||||
const activeContracts = findActiveContracts(contracts, recentComments)
|
const activeContracts = findActiveContracts(contracts, recentComments)
|
||||||
|
|
||||||
return contracts.length > 0 ? (
|
return contracts.length > 0 ? (
|
||||||
<>
|
<Col className="items-center">
|
||||||
<Title className="mb-0" text="Recent Activity" />
|
<Col className="w-full max-w-3xl">
|
||||||
<Col className="divide-gray-300 divide-y">
|
<Title text="Recent Activity" />
|
||||||
|
<Col className="w-full bg-white self-center divide-gray-300 divide-y">
|
||||||
{activeContracts.map((contract) => (
|
{activeContracts.map((contract) => (
|
||||||
<div className="py-6 px-1 hover:bg-gray-100">
|
<div className="py-6 px-1 sm:px-4">
|
||||||
<FeedCard contract={contract} />
|
<FeedCard contract={contract} />
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
</Col>
|
</Col>
|
||||||
</>
|
</Col>
|
||||||
|
</Col>
|
||||||
) : (
|
) : (
|
||||||
<></>
|
<></>
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user