Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion root/static/scss/nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,10 @@ nav.navbar {
justify-self: end;
margin: 0;

button {
// Target the icon/toggle buttons only. Dropdown menu items (e.g. the
// logout button) must keep Bootstrap's .dropdown-item styling so they
// match their <a> siblings instead of getting the icon-button reset.
button:not(.dropdown-item) {
background-color: transparent;
border: 0;
padding: 0 6px;
Expand Down Expand Up @@ -195,6 +198,13 @@ nav.navbar {
border-radius: 5px;
margin-top: 4px;
position: absolute;

// <a> dropdown items get a hover underline from the global a:hover
// rule; match it on button dropdown items (logout) so they behave
// the same as their siblings.
button.dropdown-item:hover {
text-decoration: underline;
}
}

.login-dropdown {
Expand Down
Loading