Skip to content

Commit

Permalink
fix: hide entry read history, fixed #278
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <i@innei.in>
  • Loading branch information
Innei committed Sep 7, 2024
1 parent 1d4fca4 commit a73b4ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const EntryReadHistory: Component<{ entryId: string }> = ({
if (!entryHistory.userIds) return null

return (
<div className="flex items-center duration-200 animate-in fade-in">
<div className="hidden items-center duration-200 animate-in fade-in @md:flex">
<LayoutGroup>
{entryHistory.userIds
.filter((id) => id !== me?.id)
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/src/modules/entry-content/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export const EntryContentRender: Component<{ entryId: string }> = ({
<EntryHeader
entryId={entry.entries.id}
view={0}
className="h-[55px] shrink-0 px-3"
className="h-[55px] shrink-0 px-3 @container"
/>

<ScrollArea.ScrollArea
Expand Down

0 comments on commit a73b4ab

Please sign in to comment.