From 49b88ec874293efe4cff768e051ba72952e2d2dc Mon Sep 17 00:00:00 2001 From: Dreamacro <8615343+Dreamacro@users.noreply.github.com> Date: Sun, 6 Dec 2020 17:40:41 +0800 Subject: [PATCH] Fix: table header fixed --- src/containers/Connections/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/containers/Connections/index.tsx b/src/containers/Connections/index.tsx index db35578..0e88bbb 100644 --- a/src/containers/Connections/index.tsx +++ b/src/containers/Connections/index.tsx @@ -251,7 +251,7 @@ export default function Connections() { {...realColumn.getHeaderProps()} className={classnames('connections-th', { resizing: realColumn.isResizing, - fixed: scrollX !== 0 && realColumn.id === Columns.Host + fixed: scrollX > 0 && realColumn.id === Columns.Host })} key={id}>