fix: hide entry read history, fixed #278

Signed-off-by: Innei <i@innei.in>
This commit is contained in:
Innei 2024-09-07 16:16:37 +08:00
parent 1d4fca4e7d
commit a73b4abe22
No known key found for this signature in database
GPG Key ID: 0F62D33977F021F7
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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