Francois Gouget : testbot/web: Make the CollectionBlock <th> cells sticky.

Alexandre Julliard julliard at winehq.org
Tue Mar 9 14:24:29 CST 2021


Module: tools
Branch: master
Commit: 725cb7f6f1ccc09507714b6009c805a496047baf
URL:    https://source.winehq.org/git/tools.git/?a=commit;h=725cb7f6f1ccc09507714b6009c805a496047baf

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Mon Mar  8 01:50:09 2021 +0100

testbot/web: Make the CollectionBlock <th> cells sticky.

This keeps the table header visible, making long tables easier to read.
The header disappears when scrolling past the table so this does not
impact the remainder of the page.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 testbot/web/WineTestBot.css | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/testbot/web/WineTestBot.css b/testbot/web/WineTestBot.css
index 3fccbd2..6d170b1 100644
--- a/testbot/web/WineTestBot.css
+++ b/testbot/web/WineTestBot.css
@@ -232,6 +232,8 @@ h2
   padding: 4px;
   margin: 0;
   border: 1px solid white;
+  position: sticky;
+  top: 0;
 }
 
 .CollectionBlock td




More information about the wine-cvs mailing list