githaven-fork/templates/repo/diff
mrsdizzie a6168fa25d
Make copy/paste work for source code (#12191)
* Make copy/paste work for source code

Fix regression casued by #12047 so copy/paste works properly in all browsers.

Fixes #12184

Also while looking at this I saw a small display issue for blame view. I think #12023 was merged into original PR through an update branch before #12047 was merged and made one of the css ruules not apply anymore.

* use pseudo-element to prevent copying of comment + symbol even when not visually selected

* remove added newline here should not be necessary anymore

* make sure empty line is newline so there is something to select and copy
2020-07-08 22:02:38 +01:00
..
blob_excerpt.tmpl Server-side syntax highlighting for all code (#12047) 2020-07-01 00:34:03 +03:00
box.tmpl Make copy/paste work for source code (#12191) 2020-07-08 22:02:38 +01:00
comment_form_datahandler.tmpl Pull request review/approval and comment on code (#3748) 2018-08-06 06:43:21 +02:00
comment_form.tmpl Fix .comment-code-cloud not being removed when cancelling new code comment (#11464) 2020-05-17 23:36:34 +03:00
comments.tmpl Fix to allow comment poster to edit or delete his own comments (#11671) 2020-06-05 13:10:10 +03:00
compare.tmpl Allow compare page to look up base, head, own-fork, forkbase-of-head (#11327) 2020-05-12 08:52:46 +03:00
image_diff.tmpl Bugfix for image compare and minor improvements to image compare (#8289) 2019-10-04 15:58:54 -04:00
new_comment.tmpl Pull request review/approval and comment on code (#3748) 2018-08-06 06:43:21 +02:00
new_review.tmpl Fix missing styling for dropdown icon on review button (#11998) 2020-06-22 03:02:22 +03:00
options_dropdown.tmpl Support view individual commit for wiki pages (#11415) 2020-05-16 19:38:40 +03:00
section_unified.tmpl Make copy/paste work for source code (#12191) 2020-07-08 22:02:38 +01:00
whitespace_dropdown.tmpl Add whitespace handling to PR-comparsion (#4683) 2018-08-14 13:49:33 -04:00