Skip to content

Commit

Permalink
notion-x v1.5.7
Browse files Browse the repository at this point in the history
  • Loading branch information
dinhanhthi committed Mar 27, 2024
1 parent 9ee5cc7 commit 252e215
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion notion-x
8 changes: 3 additions & 5 deletions src/app/components/PostHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default function PostHeader(props: PostHeaderProps) {

{/* Main header with infos */}
<Header headerType={!props.discreteStyle ? 'white' : 'gray'} headerWidth="normal">
<div className="py-8 flex flex-col gap-5 overflow-hidden">
<div className="py-8 flex flex-col gap-5 w-full overflow-hidden md:overflow-visible">
<div className={cn('flex flex-col items-center sm:flex-row sm:items-start gap-3')}>
{/* icon */}
{icon && (
Expand Down Expand Up @@ -122,10 +122,8 @@ export default function PostHeader(props: PostHeaderProps) {
{/* Authors & Date & meta */}
{!props.hideMeta && (
<div
className={cn(
`flex w-full flex-wrap gap-3 md:w-auto md:flex-nowrap items-center
justify-center sm:justify-start text-slate-100`
)}
className="flex w-full flex-wrap gap-3 md:w-auto md:flex-nowrap items-center
justify-center sm:justify-start text-slate-100"
>
{/* Author */}
<div className="flex items-center gap-2 text-base opacity-80">
Expand Down

0 comments on commit 252e215

Please sign in to comment.