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

Remove the need for JS completely #7

Closed
orta opened this issue Jun 7, 2021 · 1 comment · Fixed by #13
Closed

Remove the need for JS completely #7

orta opened this issue Jun 7, 2021 · 1 comment · Fixed by #13

Comments

@orta
Copy link
Contributor

orta commented Jun 7, 2021

From T6 in Discord:

.twoslash data-lsp:hover::before {
  content: attr(lsp);
  position: absolute;
  transform: translate(0, 20px);
  /* Original styles from #twoslash-mouse-hover-info */
  background-color: #3f3f3f;
  color: #fff;
  text-align: left;
  padding: 5px 8px;
  border-radius: 2px;
  font-family: "JetBrains Mono", Menlo, Monaco, Consolas, Courier New, monospace;
  font-size: 14px;
  white-space: pre-wrap;
}
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 a pull request may close this issue.

1 participant