diff options
author | Giteabot <teabot@gitea.io> | 2023-10-22 21:35:58 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-22 15:35:58 +0200 |
commit | 48e3aec86228ec4617419c354b565708d5db341c (patch) | |
tree | 1e8135cec9062ca4bf55637492cc093d848adb28 /templates/repo | |
parent | aabcf2d7ad247fb0bf8131ebdf8400fcf5292828 (diff) | |
download | gitea-48e3aec86228ec4617419c354b565708d5db341c.tar.gz gitea-48e3aec86228ec4617419c354b565708d5db341c.zip |
Enable followCursor for language stats bar (#27713) (#27739)
Backport #27713 by @silverwind
Fixes: https://github.com/go-gitea/gitea/issues/27600

Also tested together with https://github.com/go-gitea/gitea/pull/27704,
works well.
Co-authored-by: silverwind <me@silverwind.io>
Diffstat (limited to 'templates/repo')
-rw-r--r-- | templates/repo/sub_menu.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/sub_menu.tmpl b/templates/repo/sub_menu.tmpl index 56c94f1b65..8edb0c1516 100644 --- a/templates/repo/sub_menu.tmpl +++ b/templates/repo/sub_menu.tmpl @@ -38,7 +38,7 @@ </div> <a class="ui segment language-stats show-panel toggle" data-panel=".repository-summary > .sub-menu"> {{range .LanguageStats}} - <div class="bar" style="width: {{.Percentage}}%; background-color: {{.Color}}" data-tooltip-placement="top" data-tooltip-content={{.Language}}></div> + <div class="bar" style="width: {{.Percentage}}%; background-color: {{.Color}}" data-tooltip-placement="top" data-tooltip-content={{.Language}} data-tooltip-follow-cursor="horizontal"></div> {{end}} </a> {{end}} |