diff options
author | silverwind <me@silverwind.io> | 2023-10-22 15:06:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-22 13:06:04 +0000 |
commit | d8c09c25d1a51861f2e160d213449c7bde327a77 (patch) | |
tree | 5ca7e501fb2a684f7c78827c40f4d2e979b0e996 /templates | |
parent | e3afe4a248ac3a961f332e2ba221bedafa3dfb7e (diff) | |
download | gitea-d8c09c25d1a51861f2e160d213449c7bde327a77.tar.gz gitea-d8c09c25d1a51861f2e160d213449c7bde327a77.zip |
Enable followCursor for language stats bar (#27713)
Fixes: https://github.com/go-gitea/gitea/issues/27600
![](https://github.com/go-gitea/gitea/assets/115237/96743d90-0712-4f13-84ec-66f84e6ed2d7)
Also tested together with https://github.com/go-gitea/gitea/pull/27704,
works well.
Diffstat (limited to 'templates')
-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}} |