Trial fix for #23

This commit is contained in:
Fred Boniface 2022-10-05 20:53:20 +01:00
parent ce6df8562a
commit e866d8ec78

View File

@ -138,14 +138,14 @@ body {
/* The container <div> - needed to position the dropdown content */ /* The container <div> - needed to position the dropdown content */
.dropdown { .dropdown {
position: sticky; position: relative;
display: inline-block; display: inline-block;
} }
/* Dropdown Content (Hidden by Default) */ /* Dropdown Content (Hidden by Default) */
.dropdown-content { .dropdown-content {
display: none; display: none;
position: absolute; position: sticky;
background-color: #7fa7e6; background-color: #7fa7e6;
min-width: 160px; min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);