diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 7ec1480..30fa21b 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -62,7 +62,7 @@ - + diff --git a/StartPage.js b/StartPage.js index 6c84ad0..ad9b8e9 100644 --- a/StartPage.js +++ b/StartPage.js @@ -3,7 +3,7 @@ var menuActive = false; function showMobileMenuBar() { if(!menuActive) { - document.getElementById("mobileMenuBar").style.display = "block"; + document.getElementById("mobileMenuBar").style.display = "inline-block"; document.getElementById("mobileMenuBarButton").style.backgroundColor = "#B6E2A1"; menuActive = true; } diff --git a/navigationStyle.css b/navigationStyle.css index e31d03f..49c2f35 100644 --- a/navigationStyle.css +++ b/navigationStyle.css @@ -72,9 +72,10 @@ nav > button { } menu { - position: absolute; - right: 0px; display: none; + margin-top: 95px; + position: fixed; + right: 0; } /* @@ -139,6 +140,7 @@ Mobile { background-color: #B6E2A1; } + } header img