Skip to content

Commit

Permalink
fix: group date item z index
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoban committed Nov 1, 2024
1 parent 47b200f commit 8c5c62e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const useSticky = () => {
export const DateItem = memo(({ date, view }: { date: string; view: FeedViewType }) => {
const className = cn(
"pt-2",
`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`,
`relative -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) {
Expand Down
1 change: 1 addition & 0 deletions apps/renderer/src/modules/entry-column/lists.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ const EntryGroupedList = forwardRef<
}
>(({ groupCounts, itemContent, onKeyDown, data, totalCount, ...virtuosoOptions }, ref) => (
<GroupedVirtuoso
className="z-0"
ref={ref}
groupContent={useCallback(
(index: number) => {
Expand Down

0 comments on commit 8c5c62e

Please sign in to comment.