From e7b62281bc23c6a5c7238d6cc8f32a5687986910 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Fri, 14 Feb 2025 14:30:15 +0100 Subject: [PATCH] Make header sticky. --- src/templates/_base.tmpl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/templates/_base.tmpl b/src/templates/_base.tmpl index aa190a9..d2c8aac 100644 --- a/src/templates/_base.tmpl +++ b/src/templates/_base.tmpl @@ -73,11 +73,13 @@ connect_events(); body { background-color: {{background_color}}; } table { width: 100%; } td, th { vertical-align: top; text-align: left; } +#header { position: sticky; top: 0; background-color: {{background_color}}; } {% block css %} {% endblock %} + {% block body %} {% endblock %} -- 2.30.2