diff options
author | silverwind <me@silverwind.io> | 2020-10-31 13:17:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-31 14:17:32 +0200 |
commit | de871f7c93be10d5fe33ee2411fedcd17c9e9708 (patch) | |
tree | 56a7def388aec261adfd394880f557d769b43809 /templates | |
parent | 47dd1cb7ae8591b4c63b68371cc1922c0aa5f98e (diff) | |
download | gitea-de871f7c93be10d5fe33ee2411fedcd17c9e9708.tar.gz gitea-de871f7c93be10d5fe33ee2411fedcd17c9e9708.zip |
Various style fixes (#13372)
- Add alpha variants for primary color
- Make timeline items solid background color
- Fix reaction styles recently regressed
- Fix diff header and make it flexbox
- Numerous smaller fixes for arc green
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/diff/box.tmpl | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/repo/diff/box.tmpl b/templates/repo/diff/box.tmpl index 8301dbb05d..36928f7b84 100644 --- a/templates/repo/diff/box.tmpl +++ b/templates/repo/diff/box.tmpl @@ -17,9 +17,11 @@ <h4>{{.i18n.Tr "repo.diff.data_not_available"}}</h4> {{else}} <div> - <div class="diff-detail-box diff-box sticky"> - {{svg "octicon-diff"}} {{.i18n.Tr "repo.diff.stats_desc" .Diff.NumFiles .Diff.TotalAddition .Diff.TotalDeletion | Str2html}} - <div class="ui right"> + <div class="diff-detail-box diff-box sticky df sb ac"> + <div class="diff-detail-stats df ac"> + {{svg "octicon-diff" 16 "mr-2"}}{{.i18n.Tr "repo.diff.stats_desc" .Diff.NumFiles .Diff.TotalAddition .Diff.TotalDeletion | Str2html}} + </div> + <div class="diff-detail-actions df ac"> {{if .PageIsPullFiles}} {{template "repo/diff/whitespace_dropdown" .}} {{else}} |