From e71769907831086a869846a6c54ffbf13b15bc83 Mon Sep 17 00:00:00 2001 From: rogermparent Date: Tue, 31 May 2022 18:55:41 -0400 Subject: [PATCH 1/2] Add position:sticky to thead --- webview/src/experiments/components/table/styles.module.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/webview/src/experiments/components/table/styles.module.scss b/webview/src/experiments/components/table/styles.module.scss index f66355c18f..e089f4b193 100644 --- a/webview/src/experiments/components/table/styles.module.scss +++ b/webview/src/experiments/components/table/styles.module.scss @@ -523,3 +523,9 @@ $workspace-row-edge-margin: $edge-padding - $cell-padding; overflow-x: hidden; text-overflow: ellipsis; } + +.thead { + position: sticky; + top: 0; + z-index: 3; +} From f00726b04696abd20297a062b82cbd2bd1921705 Mon Sep 17 00:00:00 2001 From: rogermparent Date: Wed, 1 Jun 2022 12:48:44 -0400 Subject: [PATCH 2/2] Add background color to thead --- webview/src/experiments/components/table/styles.module.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/webview/src/experiments/components/table/styles.module.scss b/webview/src/experiments/components/table/styles.module.scss index e089f4b193..7770e591ad 100644 --- a/webview/src/experiments/components/table/styles.module.scss +++ b/webview/src/experiments/components/table/styles.module.scss @@ -528,4 +528,5 @@ $workspace-row-edge-margin: $edge-padding - $cell-padding; position: sticky; top: 0; z-index: 3; + background-color: $bg-color; }