Skip to content

feat: Add automatic dropdown positioning#1014

Open
MoritzWeber0 wants to merge 2 commits into
mainfrom
fix/dropdown-overflows
Open

feat: Add automatic dropdown positioning#1014
MoritzWeber0 wants to merge 2 commits into
mainfrom
fix/dropdown-overflows

Conversation

@MoritzWeber0

Copy link
Copy Markdown
Member

Use the new anchor and position-try systems in CSS, available since January in all major browsers to automatically position the dropdown menu.

image

For horizontal positioning, automatically shift the dropdown menu to the left if there is not enough space on the screen. For vertical positioning, use scrolling to handle the overflow.

Resolves #1013

@github-actions

Copy link
Copy Markdown

Hi there! 👋

Thank you for your contribution to the FIP Guide! 🚀
We appreciate your effort in making rail staff travel information more accessible. 🚄

Checklist before merging:

  • Added a description to the Pull Request
  • Checked the License of new pictures (non-commercial use without attribution)
  • Modified content in English
  • Modified content in German
  • Modified content in French

@netlify

netlify Bot commented Jun 20, 2026

Copy link
Copy Markdown

Deploy Preview for fipguide ready!

Name Link
🔨 Latest commit 989ee48
🔍 Latest deploy log https://app.netlify.com/projects/fipguide/deploys/6a369864b489a400081e4255
😎 Deploy Preview https://deploy-preview-1014--fipguide.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Navigation dropdown overflows on mobile in landscape mode

1 participant