fix: resolve datasets container rounded corners disappearing during scroll (#23667)

This commit is contained in:
lyzno1
2025-08-09 22:41:42 +08:00
committed by GitHub
parent 431e0105de
commit dc641348f6
4 changed files with 6 additions and 6 deletions

View File

@@ -13,7 +13,7 @@ const HeaderWrapper = ({
children,
}: HeaderWrapperProps) => {
const pathname = usePathname()
const isBordered = ['/apps', '/datasets', '/datasets/create', '/tools'].includes(pathname)
const isBordered = ['/apps', '/datasets/create', '/tools'].includes(pathname)
// Check if the current path is a workflow canvas & fullscreen
const inWorkflowCanvas = pathname.endsWith('/workflow')
const workflowCanvasMaximize = localStorage.getItem('workflow-canvas-maximize') === 'true'