-
Notifications
You must be signed in to change notification settings - Fork 77
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
FIX- Dropdown in Navbar Not Visible on Hover #308 #315
Changes from 1 commit
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 | ||||
---|---|---|---|---|---|---|
|
@@ -9,10 +9,14 @@ | |||||
.current { | ||||||
color: $primary !important; | ||||||
} | ||||||
|
||||||
&:hover { | ||||||
.dropdown-menu { | ||||||
display: block; | ||||||
} | ||||||
} | ||||||
.dropdown-menu { | ||||||
padding: 0; | ||||||
transform: translate(-15%, 2.5rem) !important; | ||||||
transform: translate(-15%, 0rem) !important; | ||||||
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.
Suggested change
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. If we're having to use !important, then we're probably not affecting this change in the most appropriate area/class/style. Can we hunt down the original/root style controlling this element? 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. @leecalcote I noticed that the !important wasn't originally necessary, and upon further testing, the dropdown behavior is functioning correctly without it. It seems someone might have added it mistakenly. Hence, we can proceed without using !important at all. |
||||||
border-radius: 0; | ||||||
.dropdown-item { | ||||||
height: 5rem; | ||||||
|
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.