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 nav links do not reappear after resizing #1502

Open
wants to merge 5 commits into
base: gh-pages
Choose a base branch
from

Conversation

aastha-cse
Copy link

Fixes #1499

The issue was with the toggling of display style between navmenu and overlay. To solve this I added a new class name 'open' that fixes the problem.

fixes.mp4

@aravindvnair99 aravindvnair99 added pr UI Change, update, or fix for site UI (not content) labels Apr 30, 2024
@crandmck
Copy link
Member

crandmck commented May 2, 2024

@chrisdel101 Is this affected at all by your recent dark mode changes, or vice-versa?
And do you have any comments in general on these changes, even though they seem quite simple.... since you've been working in the CSS and JS / layout code recently, I thought I'd just check with you.

@chrisdel101
Copy link
Contributor

So I noticed this issue when I was working on that feature, but I recall I switched back to main (gh-pages branch) and this problem was occurring there as well. So I'm pretty sure I did not cause it. It seemed to be there already. Just wanted to report on this.
Will report in on the PR changes soon.

@jonchurch jonchurch closed this May 3, 2024
@jonchurch jonchurch reopened this May 3, 2024
@jonchurch
Copy link
Member

clopened to see if it will trigger a build preview

@jonchurch
Copy link
Member

I honestly don't know why this works but it does

@jonchurch
Copy link
Member

Ahh, the overlay is staying open after resizing the page, leaving an opacity layer over the top of the page

Screenshot 2024-05-03 at 8 12 04 PM

We should find a way to achieve all of this via media queries.

Copy link

netlify bot commented May 4, 2024

Deploy Preview for expressjscom-preview ready!

Name Link
🔨 Latest commit f0e5c9d
🔍 Latest deploy log https://app.netlify.com/sites/expressjscom-preview/deploys/663723777beb8200089d4a95
😎 Deploy Preview https://deploy-preview-1502--expressjscom-preview.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.

@aastha-cse
Copy link
Author

I looked into the overlay issue and fixed it using the same method that i used to fix the nav bar. It was working fine on my local system but I can't figure out the reason of 'deploy fail'.

fixnav.mp4

@crandmck
Copy link
Member

crandmck commented May 4, 2024

The build is failing because Netlify is trying to use Jekyll build dependencies' README files, and at least one README has a malformed liquid directive:

Liquid Exception: Liquid syntax error (line 50): Variable '{{a}' was not properly terminated with regexp: /\}\}/ in node_modules/balanced-match/README.md

This should be fixed by #1510 ... @aastha-cse Can you get the changes from that PR so we can preview this one?

@chrisdel101
Copy link
Contributor

chrisdel101 commented May 4, 2024

We should find a way to achieve all of this via media queries.

@jonchurch I'm seeing the media queries for the #navmenu . Which parts did you have in mind that could be fixed up?

@crandmck
Copy link
Member

crandmck commented May 7, 2024

This is building now and the preview looks OK to me.... @jonchurch Do we need further changes or can we land this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr UI Change, update, or fix for site UI (not content)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nav links do not reppear after resizing
5 participants