diff options
author | mrsdizzie <info@mrsdizzie.com> | 2020-10-02 10:38:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-02 10:38:38 -0400 |
commit | 7a34fc0ae8f3db460c8ca1fa4dba6ca6212caebd (patch) | |
tree | 125bc2f1c8576cd6abed9d08fa63a311d0adafdc /templates/repo/diff/box.tmpl | |
parent | 54dd28f159ea6eac314536a73cf8a9feafccca12 (diff) | |
download | gitea-7a34fc0ae8f3db460c8ca1fa4dba6ca6212caebd.tar.gz gitea-7a34fc0ae8f3db460c8ca1fa4dba6ca6212caebd.zip |
Remove code-view class from diff view (#13011)
code-view class seems unecessary here as everything needed style wise comes from various diff classes. This allows comments and comment editor to be styled properly and fixes linked bug.
Fixes #13010
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'templates/repo/diff/box.tmpl')
-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 2d39759d80..d7abd96da1 100644 --- a/templates/repo/diff/box.tmpl +++ b/templates/repo/diff/box.tmpl @@ -114,7 +114,7 @@ </h4> <div class="diff-file-body ui attached unstackable table segment"> {{if ne $file.Type 4}} - <div class="file-body file-code code-view has-context-menu code-diff {{if $.IsSplitStyle}}code-diff-split{{else}}code-diff-unified{{end}}"> + <div class="file-body file-code has-context-menu code-diff {{if $.IsSplitStyle}}code-diff-split{{else}}code-diff-unified{{end}}"> <table class="chroma"> <tbody> {{if $isImage}} |