From: Christian Heller Date: Fri, 14 Feb 2025 13:30:15 +0000 (+0100) Subject: Make header sticky. X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/booking/%7B%7Bprefix%7D%7D/%7B%7Bdb.prefix%7D%7D/do_todos?a=commitdiff_plain;p=ytplom Make header sticky. --- 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 %}