-
Notifications
You must be signed in to change notification settings - Fork 23
Description
Describe the bug
When selecting the HTTP methods OPTIONS or CONNECT in the request method dropdown, the text is cut off because the dropdown width is too narrow to display these longer method names. This only occurs when the application window is not maximized/fullscreen.
While these methods are not commonly used, they should still be fully visible when selected.
To Reproduce
Steps to reproduce the behavior:
- Resize the Trufos window to a smaller size (not fullscreen)
- Open a request in the main panel
- Click on the HTTP method selector
- Select OPTIONS or CONNECT
- Observe that the method name is cut off
Expected behavior
All HTTP method names should be fully visible in the method selector, including longer names like OPTIONS and CONNECT.
Screenshots/Video
Additional context
The HTTP method selector is defined in HttpMethodSelect.tsx.
The SelectTrigger on line 56 has a fixed min-w-[102px] which is too narrow for longer method names like OPTIONS and CONNECT.
Increasing this value or using a dynamic width should fix the issue.