Skip to content

Commit

Permalink
fix: margin between the top bar and the content (#1054)
Browse files Browse the repository at this point in the history
  • Loading branch information
cuikaipeng authored Oct 22, 2024
1 parent 195b6e1 commit e6491e5
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,12 @@ export const EntryListHeader: FC<{
return (
<div
ref={containerRef}
className="flex w-full flex-col pl-6 pr-4 pt-2.5 transition-[padding] duration-300 ease-in-out"
className={cn(
"flex w-full flex-col pl-6 pr-4 pt-2.5 transition-[padding] duration-300 ease-in-out",
view !== FeedViewType.Articles && view !== FeedViewType.Pictures && "mb-2",
)}
>
<div className={cn("flex h-10 w-full", titleAtBottom ? "justify-end" : "justify-between")}>
<div className={cn("flex w-full", titleAtBottom ? "justify-end" : "justify-between")}>
{!titleAtBottom && titleInfo}

<div
Expand Down

0 comments on commit e6491e5

Please sign in to comment.