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

Small visual tweak for signature help popup #2358

Merged
merged 4 commits into from
Nov 9, 2023

Conversation

jwortmann
Copy link
Member

A little tweak which adds a <kbd> tag for the keyboard keys and also a <body> tag1 with unique id for the signature help popup.

I have adjusted the CSS style for the <kbd> tag a bit, beacause the default style from mdpopups uses a too high contrast against the background color in my opinion. The style will also apply to regular hover popups if they contain literal <kbd> HTML tags.

Mariana Breakers
Before before1 before2
After after1 after2
mdpopups default style for <kbd> default1 default2

Footnotes

  1. The <body> tag will not be the outermost tag in the minihtml, because mdpopups still adds its own <div> wrapper tag around it, but there is nothing we can do about that and it won't affect the functionality.

@rchl rchl merged commit 00ce15c into sublimelsp:main Nov 9, 2023
4 checks passed
@jwortmann jwortmann deleted the sighelp-kbd branch November 10, 2023 07:20
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