fix(web): improve logs panel scroll handling (#2305)

- forward refs through ScrollArea so logs can access the viewport
- keep logs pinned to the bottom only when the user is already near it
- apply import and className ordering cleanup across frontend components
This commit is contained in:
wenjie
2026-04-03 15:37:23 +08:00
committed by GitHub
parent 7f7b4c430b
commit bd56e10bb8
13 changed files with 97 additions and 53 deletions
+1 -5
View File
@@ -1,8 +1,4 @@
import {
Outlet,
createRootRoute,
useRouterState,
} from "@tanstack/react-router"
import { Outlet, createRootRoute, useRouterState } from "@tanstack/react-router"
import { TanStackRouterDevtools } from "@tanstack/react-router-devtools"
import { useEffect } from "react"