Skip to content

fix: Allow matching the menu's width to the trigger - #46

Merged
arpit-bruno merged 3 commits into
usebruno:mainfrom
vasharma05-bruno:fix-menu-dropdown-width
Aug 12, 2026
Merged

fix: Allow matching the menu's width to the trigger#46
arpit-bruno merged 3 commits into
usebruno:mainfrom
vasharma05-bruno:fix-menu-dropdown-width

Conversation

@vasharma05-bruno

Copy link
Copy Markdown
Contributor

Description

This PR looks into the issue where the menu's width is smaller than the trigger button for the env switcher in the sidebar.

Before

image

After

image

Comment thread packages/bruno-api-docs/src/ui/MenuDropdown/Dropdown.tsx
@arpit-bruno
arpit-bruno merged commit d542276 into usebruno:main Aug 12, 2026
2 checks passed
arpit-bruno pushed a commit that referenced this pull request Aug 12, 2026
* Add a new prop to allow matching the menu's width with the trigger width, if the trigger is larger

* Review comments

* Add e2e test for the env switcher dropdown
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.

3 participants