diff options
author | silverwind <me@silverwind.io> | 2020-11-10 19:28:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-10 20:28:07 +0200 |
commit | 21d496364a5e654ba535d06269f6c6679b5c2d74 (patch) | |
tree | 6d69c6397dfd135c6e60537d3368152e996c9184 /templates/repo/release | |
parent | 9155f13bf859ae170892abd0bbb6860e4990263f (diff) | |
download | gitea-21d496364a5e654ba535d06269f6c6679b5c2d74.tar.gz gitea-21d496364a5e654ba535d06269f6c6679b5c2d74.zip |
Fix tooltips and issue dependency styles (#13458)
- Convert all tooltips to JS-based ones, fixing overflow issues
- Restyle issue dependencies/dependants
- Move popup styles to base style
- CSS Helper tweaks
- Unify pseudo element selectors and lint for it
Fixes: https://github.com/go-gitea/gitea/issues/13400
Diffstat (limited to 'templates/repo/release')
-rw-r--r-- | templates/repo/release/list.tmpl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/repo/release/list.tmpl b/templates/repo/release/list.tmpl index 71d40fdb23..a05d671b15 100644 --- a/templates/repo/release/list.tmpl +++ b/templates/repo/release/list.tmpl @@ -152,7 +152,9 @@ {{if .Attachments}} {{range .Attachments}} <li> - <span class="ui text right" data-tooltip="{{$.i18n.Tr "repo.release.download_count" (.DownloadCount | PrettyNumber)}}" data-position="bottom right">{{svg "octicon-info"}}</span> + <span class="ui text right poping up" data-content="{{$.i18n.Tr "repo.release.download_count" (.DownloadCount | PrettyNumber)}}"> + {{svg "octicon-info"}} + </span> <a target="_blank" rel="noopener noreferrer" href="{{.DownloadURL}}"> <strong><span class="ui image" title='{{.Name}}'>{{svg "octicon-package" 16 "mr-2"}}</span>{{.Name}}</strong> <span class="ui text grey right">{{.Size | FileSize}}</span> |