10000 fix: Use GitHub style line prefix and fix code selection by rtfpessoa · Pull Request #347 · rtfpessoa/diff2html · GitHub
[go: up one dir, main page]

Skip to content

fix: Use GitHub style line prefix and fix code selection #347

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

Closed
wants to merge 1 commit into from

Conversation

rtfpessoa
Copy link
Owner
@rtfpessoa rtfpessoa commented Oct 27, 2020

Fixes #346

} */

.d2h-code-line-ctn:before {
content: attr(data-prefix);
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this would need an additional padding-right: 7px or so to be visually equal to the current state.

@rtfpessoa
Copy link
Owner Author

Better solution in #348

@rtfpessoa rtfpessoa closed this Oct 29, 2020
@rtfpessoa rtfpessoa deleted the github-style-prefixes-and-fix-selection branch October 29, 2020 08:55
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.

Leading whitespace when selecting / copying code in Chrome
2 participants
0