From f83b7c996dd69d448476a0ce1807f46a56751b2d Mon Sep 17 00:00:00 2001 From: Thomas Bouffard <27200110+tbouffard@users.noreply.github.com> Date: Sat, 31 Oct 2020 17:06:27 +0100 Subject: [PATCH] [FIX] Avoid extra top pixel translation when sticking the navbar (#83) --- examples/static/css/main.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/static/css/main.css b/examples/static/css/main.css index 014d9ee5..222f064c 100644 --- a/examples/static/css/main.css +++ b/examples/static/css/main.css @@ -23,6 +23,6 @@ div.card { .navbar { position: -webkit-sticky; position: sticky; - top: -1px; + top: 0; z-index: 100; /* ensure the BPMN Diagrams are under the navbar when scrolling */ }