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

Add install instruction to package sidebar #295

Closed
wants to merge 1 commit into from

Conversation

rl-king
Copy link

@rl-king rl-king commented Jan 4, 2019

What

Copiable command line instruction that will install the package you're looking at.

Behaviour

  • Triple click or drag to select text.
  • Doesn't select > symbol.

Notes

  • Tripple click always selects extra new line due to setting css overflow, not sure if or how this should be solved.
  • Could be made more interactive by actually copying on click.

Preview

screenshot 2019-01-04 at 17 55 54

Fixes

#27

@rlefevre
Copy link
Member

Install instructions have been added in the new "About" section of each package, for example:
https://package.elm-lang.org/packages/elm/file/latest/about

Note that triple click seems to work fine to select it (at least it does on Linux with Firefox for me).

@rl-king
Copy link
Author

rl-king commented May 13, 2020

The current implementation also fits more text, which is an issue with having it in the sidebar.

Triple click selects a newline in Safari on macOs but not in Firefox, not sure if this is an issue worth fixing.

@rl-king rl-king closed this May 13, 2020
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.

None yet

2 participants