fix(entry): scrollbar top position and improve css animation for border animation
Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
@@ -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>
|
||||
|
||||
+2
-2
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user