Skip to content

Commit

Permalink
fixed issue with missing divide
Browse files Browse the repository at this point in the history
  • Loading branch information
damiensedgwick committed Nov 15, 2024
1 parent cc3cba8 commit e9bfacf
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/frontpage/app/(app)/_components/post-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export async function PostCard({

return (
// TODO: Make article route to postHref via onClick on card except innser links or buttons
<article className="w-full py-2 px-2 bg-white dark:bg-slate-900 space-y-2">
<article className="w-full py-2 px-2 bg-white dark:bg-slate-900 space-y-2 border-b-2 border-b-accent">
<div className="flex justify-between items-center">
<div className="flex items-center px-3 space-x-1.5">
<UserHoverCard did={author} asChild>
Expand Down
2 changes: 1 addition & 1 deletion packages/frontpage/app/(app)/about/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const metadata: Metadata = {

export default function CommunityGuidelinesPage() {
return (
<div className="px-4 pt-20 md:pt-0">
<div className="px-4 pt-4">
<Heading1>About Frontpage</Heading1>
<Paragraph>
Frontpage is a decentralised and federated link aggregator that&apos;s
Expand Down
2 changes: 1 addition & 1 deletion packages/frontpage/app/(app)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default async function Layout({
</div>
</div>

<main className="mb-6">{children}</main>
<main className="mb-6 pt-16 md:pt-0">{children}</main>

<footer className="px-4 flex justify-between items-center text-gray-500 dark:text-gray-400">
<p>
Expand Down
2 changes: 1 addition & 1 deletion packages/frontpage/app/(app)/moderation/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export default async function Moderation(props: {
const stats = await getModeratorReportStats();

return (
<div className="px-4 pt-16 md:pt-0">
<div className="px-4">
<Card className="mb-4">
<CardHeader className="flex justify-evenly text-center">
<CardTitle className="text-2xl font-bold text-blue-300">
Expand Down
2 changes: 1 addition & 1 deletion packages/frontpage/app/(app)/notifications/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { CommentBody } from "../post/[postAuthor]/[postRkey]/_lib/comment";

export default async function NotificationsPage() {
return (
<div className="flex flex-col gap-y-4 px-4">
<div className="flex flex-col gap-y-4 px-4 pt-4">
<div className="flex justify-between">
<h1 className="scroll-m-20 text-xl font-extrabold lg:text-2xl">
Notifications
Expand Down
2 changes: 1 addition & 1 deletion packages/frontpage/app/(app)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ async function getMorePostsAction(cursor: number | null) {

return {
content: (
<div className="pt-16 md:pt-0 divide-y divide-accent">
<div>
{posts.map((post) => (
<PostCard
key={post.id}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default async function Post(props: {
}

return (
<div className="pt-16 md:pt-0 mx-auto max-w-4xl divide-y divide-accent md:divide-y-0">
<div className="mx-auto max-w-4xl">
<PostCard
author={post.authorDid}
createdAt={post.createdAt}
Expand Down
2 changes: 1 addition & 1 deletion packages/frontpage/app/(app)/profile/[user]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default async function Profile(props: { params: Promise<Params> }) {
});

return (
<div className="pt-20 md:pt-0">
<div className="pt-4">
<LinkAlternateAtUri authority={did} />
<div className="px-4 lg:px-0 flex items-center space-x-4 mb-4">
<UserAvatar did={did} size="medium" />
Expand Down

0 comments on commit e9bfacf

Please sign in to comment.