From e866d8ec78213964e53d2b4e90b15e768b3c30cb Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Wed, 5 Oct 2022 20:53:20 +0100 Subject: [PATCH] Trial fix for #23 --- styles/style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/styles/style.css b/styles/style.css index 9a29b30..2adf6ab 100644 --- a/styles/style.css +++ b/styles/style.css @@ -138,14 +138,14 @@ body { /* The container
- needed to position the dropdown content */ .dropdown { - position: sticky; + position: relative; display: inline-block; } /* Dropdown Content (Hidden by Default) */ .dropdown-content { display: none; - position: absolute; + position: sticky; background-color: #7fa7e6; min-width: 160px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);