mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
da23041257
* fix extra newlines when copying from diff See https://bugzilla.mozilla.org/show_bug.cgi?id=1273836 Basically, the <pre><code> seems to add a forced newline that is not possible to get rid of via CSS, so I replaced it with just a <code>. Secondly, .lines-type-marker also forced a newline in the copied text, but that was possible to get rid of via user-select. Safari still has a extraneous newline in the copied text of unknown origin, but this should not block stop this PR. * simplify .line-type-marker * fix selector * remove erronous ^^^ * Fix empty split diff * Fix arc-theme-green * fix add comment * ensure line-num is copied too * Update templates/repo/diff/box.tmpl Co-Authored-By: zeripath <art27@cantab.net> * attempt to fix safari via removing <code> * remove useless whitespace at the end of 'class' * remove inter-tag whitespace for code <td>s * more inter-tag removal * final inter-tag removal * attempt to fix empty line copy * move and comment getLineContent * fix golint * make background grey for missing added code |
6 years ago | |
---|---|---|
.. | ||
branch | 6 years ago | |
diff | 6 years ago | |
editor | 6 years ago | |
issue | 6 years ago | |
pulls | 6 years ago | |
release | 6 years ago | |
settings | 6 years ago | |
wiki | 6 years ago | |
activity.tmpl | 6 years ago | |
blame.tmpl | 6 years ago | |
branch_dropdown.tmpl | 7 years ago | |
commit_page.tmpl | 6 years ago | |
commit_status.tmpl | 6 years ago | |
commits.tmpl | 7 years ago | |
commits_table.tmpl | 6 years ago | |
create.tmpl | 6 years ago | |
empty.tmpl | 6 years ago | |
forks.tmpl | 9 years ago | |
graph.tmpl | 7 years ago | |
header.tmpl | 6 years ago | |
home.tmpl | 6 years ago | |
migrate.tmpl | 6 years ago | |
search.tmpl | 7 years ago | |
sub_menu.tmpl | 6 years ago | |
user_cards.tmpl | 6 years ago | |
view_file.tmpl | 6 years ago | |
view_list.tmpl | 6 years ago | |
watchers.tmpl | 9 years ago |