Skip to content

Commit

Permalink
Make dropdown menu more compact
Browse files Browse the repository at this point in the history
  • Loading branch information
ignotus666 committed Jun 28, 2024
1 parent 18b4a9b commit 8330b98
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions assets/css/langsel.css
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
}

.dropdown-content a {
padding: 5px 10px;
padding: 1px 10px; /* Adjusted padding to reduce vertical space */
text-decoration: none;
display: block;
color: #2b7288;
Expand All @@ -101,10 +101,6 @@
border-radius: 5px;
}

.selected {
font-weight: bold;
}

/* Media query for small screens */
@media (max-height: 500px) {
.dropdown-content {
Expand All @@ -117,6 +113,6 @@
/* Additional styling for focus state to enhance accessibility */
#langselect ul li:focus, #langselect ul li:focus-within {
outline: 2px solid #2b7288;
outline-offset: 2px;
outline-offset: 0;
border-radius: 5px;
}

0 comments on commit 8330b98

Please sign in to comment.