From ce6df8562a2c3a2c68f90159fc095a44faf8b4a9 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Wed, 5 Oct 2022 20:51:55 +0100 Subject: [PATCH] Trial fix for #23 --- styles/style.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/styles/style.css b/styles/style.css index f7a18e6..9a29b30 100644 --- a/styles/style.css +++ b/styles/style.css @@ -118,7 +118,7 @@ body { /* START MENU STYLE */ -/* Dropdown Button */ +/* Menu Button */ .dropbtn { position: fixed; top: 0; @@ -132,14 +132,13 @@ body { cursor: pointer; } -/* Dropdown button on hover & focus */ .dropbtn:hover, .dropbtn:focus { background-color: #0280e5; } /* The container
- needed to position the dropdown content */ .dropdown { - position: relative; + position: sticky; display: inline-block; }