fix(entry): scrollbar top position and improve css animation for border animation

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei
2025-10-23 21:20:44 +08:00
parent e26a3d4b10
commit b26ebc0b53
2 changed files with 5 additions and 2 deletions
@@ -246,6 +246,9 @@ const EntryScrollArea: Component<{
scrollbarClassName="mr-[1.5px] print:hidden"
ref={scrollerRef}
viewportClassName={viewportClassName}
scrollbarProps={{
className: "mt-16 z-[999]",
}}
>
{children}
</ScrollArea.ScrollArea>
@@ -47,8 +47,8 @@ function EntryHeaderRootImpl({
<m.div
data-hide-in-print
className={cn(
"relative flex min-w-0 items-center justify-between gap-3 overflow-hidden text-lg text-text-secondary duration-200 macos-left-column-hidden:pl-margin-macos-traffic-light-x",
shouldShowMeta && "border-b border-border",
"relative flex min-w-0 items-center justify-between gap-3 overflow-hidden border-b border-transparent text-lg text-text-secondary duration-200 macos-left-column-hidden:pl-margin-macos-traffic-light-x",
shouldShowMeta && "border-border",
className,
)}
style={style}