feat: larger text for date item

This commit is contained in:
DIYgod
2024-08-09 18:28:28 +08:00
parent bf96d11445
commit c1ea43fee2
4 changed files with 5 additions and 5 deletions
@@ -6,7 +6,7 @@ import { useMemo, useState } from "react"
export const Markdown: Component<
{
children: string
} & Partial<RemarkOptions>,
} & Partial<RemarkOptions>
> = ({ children, components, className }) => {
const stableRemarkOptions = useState({ components })[0]
@@ -15,7 +15,7 @@ export const EntryPlaceholderDaily = ({
view: DailyView
className?: string
}) => (
<div className={cn(className, "mx-auto flex w-[75ch] flex-col gap-6")}>
<div className={cn(className, "mx-auto flex w-full max-w-[75ch] flex-col gap-6")}>
<CollapseGroup>
<CtxConsumer />
<DailyItem day={DayOf.Today} view={view} />
@@ -187,8 +187,8 @@ export const SocialMediaDateItem = ({
<div
className={cn(
className,
"m-auto w-[75ch] gap-3 pl-5 text-base",
views[view].wideMode && "flex justify-center",
"m-auto w-[67ch] gap-3 pl-5 text-lg",
views[view].wideMode && "flex",
)}
>
<MarkAllButton
@@ -23,7 +23,7 @@ export const DateItem = memo(
const className = cn(
isFirst ? "pt-2" : "pt-8",
`relative z-10 -mx-2 flex items-center gap-1 bg-background px-4 text-sm font-bold text-zinc-800 dark:text-neutral-400`,
`relative z-10 -mx-2 flex items-center gap-1 bg-background px-4 text-base font-bold text-zinc-800 dark:text-neutral-400`,
)
if (view === FeedViewType.SocialMedia) {