From 3cc3911821d9e92a9bf11034935e2ae42e662918 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20V=C3=A9ril?= Date: Mon, 3 Feb 2020 13:27:32 +0100 Subject: [PATCH] Sticky head for table --- static/css/table.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/static/css/table.css b/static/css/table.css index 262d0c20..e993e1f6 100644 --- a/static/css/table.css +++ b/static/css/table.css @@ -3,4 +3,12 @@ table.datatable > tbody > tr > td { } td.NumberCell { text-align: center; +} +table > thead tr > th { + position: sticky; + position: -webkit-sticky; + top: 150px; + margin: 0 auto; + z-index: 10; + background-color: white; } \ No newline at end of file