Skip to content
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

Merged
merged 3 commits into from
Aug 28, 2024

Conversation

2003Aditya
Copy link
Contributor

Notes for Reviewers

This PR fixes #308

Signed commits

  • Yes, I signed my commits.

Copy link

netlify bot commented Jul 3, 2024

Deploy Preview for bejewelled-pegasus-b0ce81 ready!

Name Link
🔨 Latest commit e743abd
🔍 Latest deploy log https://app.netlify.com/sites/bejewelled-pegasus-b0ce81/deploys/6687fdfcc7d5a60008864149
😎 Deploy Preview https://deploy-preview-315--bejewelled-pegasus-b0ce81.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Ashparshp
Copy link
Contributor

LGTM!!

Copy link
Contributor

@Ashparshp Ashparshp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For hover it's fine!! but for phone view it's having issues, note: it must be like as it was before..

@@ -9,10 +9,14 @@
.current {
color: $primary !important;
}

&:hover {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
&:hover {
@media (min-width: 768px) {
&:hover {
.dropdown-menu {
display: block;
}
.dropdown-menu {
transform: translate(-15%, 0rem) !important;
}
}
}

.dropdown-menu {
padding: 0;
transform: translate(-15%, 2.5rem) !important;
transform: translate(-15%, 0rem) !important;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
transform: translate(-15%, 0rem) !important;
transform: translate(-15%, 2.5rem) !important;

Copy link
Member

Choose a reason for hiding this comment

The 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?

Copy link
Contributor

Choose a reason for hiding this comment

The 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.

Copy link
Contributor

@Ashparshp Ashparshp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Ashparshp Ashparshp requested review from iArchitSharma and removed request for iArchitSharma July 6, 2024 20:29
@vishalvivekm
Copy link
Member

@2003Aditya
Thank you for your contribution.
Let's discuss this on Websites' call starting in 30 minutes. Adding this as an agenda item into the meeting minutes.

@2003Aditya
Copy link
Contributor Author

@vishalvivekm I'm sorry I couldn't join at that time..

@leecalcote
Copy link
Member

@iArchitSharma able to review?

@hargunkaur286
Copy link
Member

Looks good to me!

@hargunkaur286
Copy link
Member

@2003Aditya Thank you for your contribution. Let's discuss it in today's website meeting. Adding this as an agenda item in meeting minutes

@Ashparshp
Copy link
Contributor

@2003Aditya Thanks for your contribution, let's discuss this on the website's call. Please add this as an agenda item to the meeting minutes.

Any luck?

@Ashparshp
Copy link
Contributor

@hargunkaur286, ready to merge?

@sudhanshutech sudhanshutech merged commit 0e24acc into layer5io:master Aug 28, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Dropdown in Navbar Not Visible on Hover
6 participants