mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #4743] [feature]: Improve Environment Variables Dialog Width for Larger Screens #1768
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#1768
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @iDschepe on GitHub (Feb 10, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4743
Originally assigned to: @iDschepe on GitHub.
Is there an existing issue for this?
Summary
Description:
Currently, the environment variables dialog in Hoppscotch is limited to a maximum width of 32rem. This constraint makes it difficult to view longer variable names and values efficiently. A more adaptive or configurable width would improve the usability, especially for users working with extensive environment variables.
Suggested Improvement:
Allow the environment variables dialog to scale dynamically based on the screen size, rather than being fixed at 32rem.
Implement a more flexible max-width, e.g., a percentage-based limit (max-width: 65%) for larger screens.
Optionally, provide a resizable or user-configurable width for better customization.
Current Workaround (User Script):
We have temporarily addressed this issue using a user script that overrides the CSS:
While this workaround helps, a native solution within Hoppscotch would be much more elegant and reliable.
Development Contribution:
I’d be happy to contribute a pull request for this improvement. If you could point me to the relevant part of the codebase where the modal width is defined, I can make the necessary adjustments and submit a PR.
Why should this be worked on?
Inefficient use of screen space → On larger screens, a small fixed-width dialog feels cramped and does not take advantage of the available display area.
@srmaties7 commented on GitHub (Mar 5, 2025):
This is an Issue that is also affecting me and my team when working with Hoppscotch.
We use a lot of very long variables such as website-urls and it is very hard to work with and make little changes.
Some in my team started to export the environment then make their changes and import it again because they think it is easier to work this way.
Please, this would improve user experience by alot
@jamesgeorge007 commented on GitHub (Feb 26, 2026):
Closing since this is addressed in the v2026.2.0 release.