aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/diff/stats.tmpl
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2021-11-18 04:26:50 +0100
committerGitHub <noreply@github.com>2021-11-18 11:26:50 +0800
commit6874fe90e591fa1bfb4b0575b27d876ab544e6e0 (patch)
treebeabcb9bd531347090c3f678d364cf02099b1274 /templates/repo/diff/stats.tmpl
parentc98dd7a3e0a08b1e890d6030dd51aae9dd45aaf9 (diff)
downloadgitea-6874fe90e591fa1bfb4b0575b27d876ab544e6e0.tar.gz
gitea-6874fe90e591fa1bfb4b0575b27d876ab544e6e0.zip
Cleanup and use global style on popups (#17674)
* Cleanup and use global style on popups - Fix typo 'poping' to 'popping' - Remove most inline 'data-variation' attributes - Initialize all popups with 'inverted tiny' variation * misc tweaks * rename to .tooltip, use jQuery Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'templates/repo/diff/stats.tmpl')
-rw-r--r--templates/repo/diff/stats.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/diff/stats.tmpl b/templates/repo/diff/stats.tmpl
index 1c9b2abd31..d70fc2fe40 100644
--- a/templates/repo/diff/stats.tmpl
+++ b/templates/repo/diff/stats.tmpl
@@ -1,4 +1,4 @@
{{Add .file.Addition .file.Deletion}}
-<span class="diff-stats-bar poping up mx-3" data-content="{{.root.i18n.Tr "repo.diff.stats_desc_file" (Add .file.Addition .file.Deletion) .file.Addition .file.Deletion | Str2html}}" data-variation="wide">
+<span class="diff-stats-bar tooltip mx-3" data-content="{{.root.i18n.Tr "repo.diff.stats_desc_file" (Add .file.Addition .file.Deletion) .file.Addition .file.Deletion | Str2html}}" data-variation="wide">
<div class="diff-stats-add-bar" style="width: {{DiffStatsWidth .file.Addition .file.Deletion}}%"></div>
</span>