Skip to content

Fix: Secret input field texts were bleeding under obscure toggle button#461

Merged
gschier merged 5 commits into
mountain-loop:mainfrom
zPush:main
May 21, 2026
Merged

Fix: Secret input field texts were bleeding under obscure toggle button#461
gschier merged 5 commits into
mountain-loop:mainfrom
zPush:main

Conversation

@zPush
Copy link
Copy Markdown
Contributor

@zPush zPush commented May 10, 2026

Summary

In secret input fields (e.g. Bearer token, API key), the masked text would visually bleed into the obscure/reveal toggle button due to insufficient right-side padding on the editor. Added pr-1.5 to the editor's className in BaseInput to push text content away from the button, matching the padding already applied in EncryptionInput (used by JWT Bearer, where the issue was not present).

Submission

  • This PR is a bug fix or small-scope improvement.
  • If this PR is not a bug fix or small-scope improvement, I linked an approved feedback item below.
  • I have read and followed CONTRIBUTING.md.
  • I tested this change locally.
  • I added or updated tests when reasonable.

Approved feedback item (required if not a bug fix or small-scope improvement):

Related

Screenshot 2026-05-10 at 23 58 35 Screenshot 2026-05-10 at 23 58 30

Copy link
Copy Markdown
Member

@gschier gschier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the report! Changed to a more stable fix, which addressed it on my end. Please report back if this one doesn't work on your end (hard to reproduce exactly)

@gschier gschier merged commit b17ccbe into mountain-loop:main May 21, 2026
@zPush
Copy link
Copy Markdown
Contributor Author

zPush commented May 21, 2026

Thank you for reviewing this. Sadly your change doesn't solve it for me. However my change pr-1.5 solves it, i couldn't figure out a more robust solution like yours. I'm on MacOS so maybe its a webkit problem?

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.

2 participants