From a189689365a1a55fec77edeecd5973f61a653edb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marian=20D=C3=B6rk?= Date: Mon, 11 Dec 2023 21:36:40 +0100 Subject: [PATCH] avoid hidden nav to block links in mobile --- style.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/style.css b/style.css index abe69dc..018969f 100644 --- a/style.css +++ b/style.css @@ -162,14 +162,17 @@ a[href^="#"] { right: 5vw; } #menu{ + z-index: 0; position: fixed; text-align: left; - z-index: 5; color: var(--font); pointer-events: all; font-size: 1em; height: 100vh; } +#menu.active { + z-index: 5; +} #anchors{ margin-top: 3em; position: relative;