summaryrefslogtreecommitdiffstats
path: root/templates/repo/diff
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2024-03-23 21:11:15 +0100
committerGitHub <noreply@github.com>2024-03-23 20:11:15 +0000
commit0bef9a2775af0e27a0754207fc87537b96c2792e (patch)
tree2bacee1ea836e1c662e89c3a533c59498e01efe7 /templates/repo/diff
parentfabe01478ab449cc4870b7e2a9a1db3911bb14bd (diff)
downloadgitea-0bef9a2775af0e27a0754207fc87537b96c2792e.tar.gz
gitea-0bef9a2775af0e27a0754207fc87537b96c2792e.zip
Replace all simple inline styles with tailwind (#30032)
These should be all simple inline styles that were left in the templates. Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'templates/repo/diff')
-rw-r--r--templates/repo/diff/box.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/diff/box.tmpl b/templates/repo/diff/box.tmpl
index 4ea1d2c621..0761e3f7bd 100644
--- a/templates/repo/diff/box.tmpl
+++ b/templates/repo/diff/box.tmpl
@@ -178,7 +178,7 @@
<div class="diff-file-body ui attached unstackable table segment" {{if and $file.IsViewed $.IsShowingAllCommits}}data-folded="true"{{end}}>
<div id="diff-source-{{$file.NameHash}}" class="file-body file-code unicode-escaped code-diff{{if $.IsSplitStyle}} code-diff-split{{else}} code-diff-unified{{end}}{{if $showFileViewToggle}} gt-hidden{{end}}">
{{if or $file.IsIncomplete $file.IsBin}}
- <div class="diff-file-body binary" style="padding: 5px 10px;">
+ <div class="diff-file-body binary">
{{if $file.IsIncomplete}}
{{if $file.IsIncompleteLineTooLong}}
{{ctx.Locale.Tr "repo.diff.file_suppressed_line_too_long"}}