Adjust menu styles

This commit is contained in:
Fred Boniface 2022-09-22 22:04:52 +01:00
parent 24387b12b0
commit dcbab59673
2 changed files with 7 additions and 1 deletions

View File

@ -5,6 +5,6 @@ echo ' <button onclick="myFunction()" class="dropbtn">Menu</button>';
echo ' <div id="myDropdown" class="dropdown-content">';
echo ' <a href="/">Home</a>';
echo ' <a href="/issue.php">Report Issue</a>';
echo ' <a href="/help.php">Help</a>';
echo ' <a class="dropdown-last" href="/help.php">Help</a>';
echo ' </div>';
echo '</div>';

View File

@ -158,6 +158,12 @@ body {
padding: 12px 16px;
text-decoration: none;
display: block;
border-top: 1px solid black;
}
/*Final item of the dropdown has bottom border*/
.dropdown-last {
border-bottom: 1px solid black;
}
/* Change color of dropdown links on hover */