Trial fix for #23

This commit is contained in:
Fred Boniface 2022-10-05 20:51:55 +01:00
parent 413ad9d179
commit ce6df8562a

View File

@ -118,7 +118,7 @@ body {
/* START MENU STYLE */ /* START MENU STYLE */
/* Dropdown Button */ /* Menu Button */
.dropbtn { .dropbtn {
position: fixed; position: fixed;
top: 0; top: 0;
@ -132,14 +132,13 @@ body {
cursor: pointer; cursor: pointer;
} }
/* Dropdown button on hover & focus */
.dropbtn:hover, .dropbtn:focus { .dropbtn:hover, .dropbtn:focus {
background-color: #0280e5; background-color: #0280e5;
} }
/* The container <div> - needed to position the dropdown content */ /* The container <div> - needed to position the dropdown content */
.dropdown { .dropdown {
position: relative; position: sticky;
display: inline-block; display: inline-block;
} }