diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2021-10-27 19:11:56 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-27 19:11:56 +0800 |
commit | 89beceeb9ace8b61223d55b389541bba19578b42 (patch) | |
tree | 98c71641851647d9b1a0b65baf440f3ae32c55e0 /templates | |
parent | a462fcaac8825e992c99e3298a28c649682c0c92 (diff) | |
download | gitea-89beceeb9ace8b61223d55b389541bba19578b42.tar.gz gitea-89beceeb9ace8b61223d55b389541bba19578b42.zip |
Fix a UI error when folding a file content in a commit view (#17446)
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/diff/box.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/diff/box.tmpl b/templates/repo/diff/box.tmpl index d2651d7e08..30039f0d1a 100644 --- a/templates/repo/diff/box.tmpl +++ b/templates/repo/diff/box.tmpl @@ -59,7 +59,7 @@ {{$showFileViewToggle := or $isImage (and (not $file.IsIncomplete) $isCsv)}} <div class="diff-file-box diff-box file-content {{TabSizeClass $.Editorconfig $file.Name}} mt-3" id="diff-{{.Index}}" data-old-filename="{{$file.OldName}}" data-new-filename="{{$file.Name}}" {{if $file.IsGenerated}}data-folded="true"{{end}}> <h4 class="diff-file-header sticky-2nd-row ui top attached normal header df ac sb"> - <div class="fold-file df ac"> + <div class="df ac"> <a role="button" class="fold-file muted mr-2"> {{if $file.IsGenerated}} {{svg "octicon-chevron-right" 18}} |