From: Ardis Lu Date: Sat, 24 Feb 2024 06:30:55 +0000 (-0800) Subject: Make table header sticky X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=1105f3fb9d155401cfdcfa315fd1dd72b04f46cf;p=sheets-db Make table header sticky --- diff --git a/demo/index.html b/demo/index.html index 8383a5f..846ab2c 100644 --- a/demo/index.html +++ b/demo/index.html @@ -81,6 +81,11 @@ border-collapse: collapse; } + thead { + position: sticky; + top: 0; + } + th, td { padding: 0.5rem;