gitea/templates/repo
Giteabot 0f265a2489
Don't autosize textarea in diff view (#26233) (#26244)
Backport #26233 by @silverwind

Resizing the comment editor can be a very expensive operation because it
triggers page reflows, which on large PRs can take upwards of seconds to
complete. Disable this mechanism on the diff page only where we know
that the page can get large.

Fixes https://github.com/go-gitea/gitea/issues/26201 for the textarea
editor.

I don't think this can be fixed for EasyMDE because as far as I can
tell, it exposes no option to disable this resizing.

Co-authored-by: silverwind <me@silverwind.io>
2023-07-31 10:02:25 +02:00
..
actions Actions list enhancements (#25601) (#25678) 2023-07-04 13:00:34 +00:00
branch Several fixes for mobile UI (#25634) (#25689) 2023-07-07 00:34:00 +02:00
cite Button and color enhancements (#24989) (#25176) 2023-06-11 02:13:08 +00:00
diff Don't autosize textarea in diff view (#26233) (#26244) 2023-07-31 10:02:25 +02:00
editor
find
graph Improve commit graph alignment and truncating (#26112) (#26127) 2023-07-25 11:43:39 +00:00
issue Fix duplicated url prefix on issue context menu (#26066) (#26067) 2023-07-23 10:27:34 +00:00
migrate Clarify "text-align" CSS helpers, fix clone button padding (#25763) (#25764) 2023-07-10 00:19:24 +02:00
projects Various UI fixes (#25264) (#25431) 2023-06-22 10:19:38 +00:00
pulls Allow/fix review (approve/reject) of empty PRs (#25690) (#25732) 2023-07-06 19:34:41 +00:00
release Button and color enhancements (#24989) (#25176) 2023-06-11 02:13:08 +00:00
settings Fixed incorrect locale references (#26218) (#26222) 2023-07-29 21:54:35 +00:00
tag
wiki Improve wiki sidebar and TOC (#25460) (#25477) 2023-06-24 10:16:15 +08:00
activity.tmpl Fix UI on mobile view (#25315) (#25340) 2023-06-18 13:02:41 +00:00
blame.tmpl Button and color enhancements (#24989) (#25176) 2023-06-11 02:13:08 +00:00
branch_dropdown.tmpl
clone_buttons.tmpl Clarify "text-align" CSS helpers, fix clone button padding (#25763) (#25764) 2023-07-10 00:19:24 +02:00
clone_script.tmpl
commit_page.tmpl Clarify "text-align" CSS helpers, fix clone button padding (#25763) (#25764) 2023-07-10 00:19:24 +02:00
commit_status.tmpl Make pending commit status yellow again (#25935) (#25968) 2023-07-19 06:43:41 +00:00
commit_statuses.tmpl Button and color enhancements (#24989) (#25176) 2023-06-11 02:13:08 +00:00
commits_list_small.tmpl Use flex to align SVG and text (#25163) (#25260) 2023-06-14 13:21:48 -04:00
commits_list.tmpl Several fixes for mobile UI (#25634) (#25689) 2023-07-07 00:34:00 +02:00
commits_table.tmpl Fix commit compare style (#26209) (#26226) 2023-07-29 16:54:51 +00:00
commits.tmpl Fix some UI alignments (#25277) (#25290) 2023-06-16 00:32:59 +00:00
create_helper.tmpl
create.tmpl
empty.tmpl Fix UI on mobile view (#25315) (#25340) 2023-06-18 13:02:41 +00:00
file_info.tmpl Show if File is Executable (#25287) (#25300) 2023-06-16 09:29:26 +00:00
forks.tmpl
graph.tmpl
header.tmpl Clarify "text-align" CSS helpers, fix clone button padding (#25763) (#25764) 2023-07-10 00:19:24 +02:00
home.tmpl Hide add file button for pull mirrors (#25748) (#25751) 2023-07-07 14:12:59 +00:00
icon.tmpl
packages.tmpl
release_tag_header.tmpl Fix incorrect release count (#25879) (#25887) 2023-07-14 09:32:43 +00:00
search_name.tmpl
search.tmpl
shabox_badge.tmpl
sub_menu.tmpl Fix tags header and pretty format numbers (#25624) (#25694) 2023-07-05 07:08:16 +00:00
unicode_escape_prompt.tmpl Clarify "text-align" CSS helpers, fix clone button padding (#25763) (#25764) 2023-07-10 00:19:24 +02:00
upload.tmpl
user_cards.tmpl
view_file.tmpl Button and color enhancements (#24989) (#25176) 2023-06-11 02:13:08 +00:00
view_list.tmpl Various UI fixes (#25264) (#25431) 2023-06-22 10:19:38 +00:00
watchers.tmpl