Align node ring visually with timeline rail

This commit is contained in:
2025-11-19 01:17:33 +08:00
parent 3018a25578
commit be5d942c79
2 changed files with 4 additions and 4 deletions

View File

@@ -8,8 +8,8 @@ interface TimelineWrapperProps {
export function TimelineWrapper({ children, className }: TimelineWrapperProps) {
return (
<div className={clsx('relative pl-7', className)}>
<div className="pointer-events-none absolute left-3 top-0 h-full w-[2px] bg-gradient-to-b from-blue-500 via-blue-300 to-slate-200 shadow-[0_0_12px_rgba(59,130,246,0.45)] dark:from-cyan-400 dark:via-cyan-300 dark:to-slate-700" aria-hidden="true" />
<div className={clsx('relative pl-6', className)}>
<div className="pointer-events-none absolute left-2 top-0 h-full w-[2px] bg-gradient-to-b from-blue-500 via-blue-200 to-slate-200 shadow-[0_0_10px_rgba(59,130,246,0.4)] dark:from-cyan-400 dark:via-cyan-300 dark:to-slate-700" aria-hidden="true" />
<div className="space-y-4">
{children}
</div>