-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trim some rendundant CSS from _header.scss #1847
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,8 +82,6 @@ | |
|
||
// Contains the navigation links within the navbar | ||
.navbar-nav { | ||
display: flex; | ||
|
||
@include media-breakpoint-up($breakpoint-sidebar-primary) { | ||
// Center align on wide screens so the dropdown button is centered properly | ||
align-items: baseline; | ||
|
@@ -106,10 +104,6 @@ | |
@include header-link; | ||
} | ||
|
||
li a.nav-link.dropdown-item { | ||
@include link-style-text; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This line just applies the same mixin that _navbar-nav.scss appiles. The only difference is that the selector here, |
||
} | ||
|
||
// Dropdowns for the extra links | ||
.dropdown { | ||
button { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bootstrap already sets display: flex on .navbar-nav
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh but the _navbar-nav.scss file changes the
ul
todisplay: block
... Hmm, this might be more complicated than I realize. I'm going to put this PR into draft mode.