aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/view_file.tmpl
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-11-10 19:28:07 +0100
committerGitHub <noreply@github.com>2020-11-10 20:28:07 +0200
commit21d496364a5e654ba535d06269f6c6679b5c2d74 (patch)
tree6d69c6397dfd135c6e60537d3368152e996c9184 /templates/repo/view_file.tmpl
parent9155f13bf859ae170892abd0bbb6860e4990263f (diff)
downloadgitea-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/view_file.tmpl')
-rw-r--r--templates/repo/view_file.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/view_file.tmpl b/templates/repo/view_file.tmpl
index a849fa1f84..2ad31f8c37 100644
--- a/templates/repo/view_file.tmpl
+++ b/templates/repo/view_file.tmpl
@@ -22,7 +22,7 @@
</div>
{{end}}
{{if .LFSLock}}
- <div class="file-info-entry ui" data-tooltip="{{.LFSLockHint}}" data-inverted="">
+ <div class="file-info-entry ui poping up" data-content="{{.LFSLockHint}}">
{{svg "octicon-lock" 16 "mr-2"}}
<a href="{{AppSubUrl}}/{{.LFSLock.Owner.Name}}">{{.LFSLockOwner}}</a>
</div>