fix: adjust responsive breakpoint for entry content

Signed-off-by: Innei <i@innei.in>
This commit is contained in:
Innei
2024-08-05 20:48:34 +08:00
parent 78cb08c7dc
commit d9235f4e68
2 changed files with 5 additions and 1 deletions
@@ -24,6 +24,10 @@ const Thumb = React.forwardRef<
>(({ className, ...rest }, forwardedRef) => (
<ScrollAreaBase.Thumb
{...rest}
onClick={(e) => {
e.stopPropagation()
rest.onClick?.(e)
}}
ref={forwardedRef}
className={cn(
"relative w-full flex-1 rounded-xl transition-colors duration-150",
@@ -163,7 +163,7 @@ function EntryContentRender({ entryId }: { entryId: string }) {
>
<article
onContextMenu={stopPropagation}
className="relative m-auto min-w-0 max-w-[550px] @4xl:max-w-[70ch]"
className="relative m-auto min-w-0 max-w-[550px] @3xl:max-w-[70ch]"
>
<a
href={entry.entries.url || void 0}