diff --git a/web/components/linkify.tsx b/web/components/linkify.tsx index ccb63a61..35af391c 100644 --- a/web/components/linkify.tsx +++ b/web/components/linkify.tsx @@ -31,7 +31,7 @@ export function Linkify(props: { text: string; gray?: boolean }) { ) }) return ( - + {text.split(regex).map((part, i) => ( {part} diff --git a/web/pages/activity.tsx b/web/pages/activity.tsx index dae5c152..c5893272 100644 --- a/web/pages/activity.tsx +++ b/web/pages/activity.tsx @@ -10,11 +10,7 @@ import { Col } from '../components/layout/col' function FeedCard(props: { contract: Contract }) { const { contract } = props - return ( -
- -
- ) + return } // This does NOT include comment times, since those aren't part of the contract atm. @@ -80,10 +76,12 @@ export function ActivityFeed(props: { return contracts.length > 0 ? ( <> - - <Col className="gap-4"> + <Title className="mb-0" text="Recent Activity" /> + <Col className="divide-gray-300 divide-y"> {activeContracts.map((contract) => ( - <FeedCard contract={contract} /> + <div className="py-6 px-1 hover:bg-gray-100"> + <FeedCard contract={contract} /> + </div> ))} </Col> </>