0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 20:44:36 +01:00
gitea/services
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
..
comments
externalaccount
gitdiff Make copy/paste work for source code (#12191) 2020-07-08 22:02:38 +01:00
issue
mailer Add push commits history comment on PR time-line (#11167) 2020-05-20 09:47:24 -03:00
mirror Update the wiki repository remote origin while update the mirror repository's Clone From URL (#12053) 2020-07-05 22:08:32 -04:00
pull Update CommitsAhead CommitsBehind on Pull BaseBranch Change too (#11912) 2020-06-16 12:52:33 -05:00
release
repository
wiki