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

[BUG] Navigation Dropdown UI issue – text wrapping due to fixed width #503

Open
2 tasks done
DevanjoyDas opened this issue Jan 2, 2025 · 1 comment · May be fixed by #504
Open
2 tasks done

[BUG] Navigation Dropdown UI issue – text wrapping due to fixed width #503

DevanjoyDas opened this issue Jan 2, 2025 · 1 comment · May be fixed by #504
Labels
bug Something isn't working

Comments

@DevanjoyDas
Copy link

Describe the bug.

The dropdown menu in the navigation bar has a fixed width. This causes two problems:

  1. Text Wrapping – If the dropdown contains links with longer text, the text wraps to the next line instead of fitting within the dropdown.
  2. Excessive Width – For dropdowns with shorter text, the fixed width makes the dropdown appear unnecessarily wide, creating an inconsistent UI.

Expected behavior

The dropdown width should dynamically adjust to fit the longest link text without wrapping or leaving unnecessary space.

Screenshots

DropDownIssue

How to Reproduce

  1. Hover over the navigation bar (Resources Hub) to trigger the dropdown menu.
  2. Notice that, Long text wraps (Online Conf Slides), creating extra lines.

🥦 Browser

Google Chrome

👀 Have you checked for similar open issues?

  • I checked and didn't find similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to work on this issue ?

Yes I am willing to submit a PR!

@DevanjoyDas DevanjoyDas added the bug Something isn't working label Jan 2, 2025
Copy link

github-actions bot commented Jan 2, 2025

Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant