0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-28 10:24:11 -05:00
forgejo/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.tmpl Fix .comment-code-cloud not being removed when cancelling new code comment (#11464) 2020-05-17 23:36:34 +03:00
comment_form_datahandler.tmpl
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
new_comment.tmpl
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