diff options
author | silverwind <me@silverwind.io> | 2022-08-10 16:47:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-10 22:47:28 +0800 |
commit | d751e35d81d3e9e953ac35e868b9714ba4502f67 (patch) | |
tree | 5e6a3042319003707420a7a50b62bf9285a868f1 /templates/base | |
parent | 58de07e5fd14c23dd4c4a315b8c5b3fb3219f66a (diff) | |
download | gitea-d751e35d81d3e9e953ac35e868b9714ba4502f67.tar.gz gitea-d751e35d81d3e9e953ac35e868b9714ba4502f67.zip |
Use separate class for tippy targets (#20742)
Previous solution that re-purposed the 'hide' class by making it
`!important` had various unintended side-effects where jQuery .show() was
not able to outweight it. Use a separate class to prevent these
interactions.
Diffstat (limited to 'templates/base')
-rw-r--r-- | templates/base/head_navbar.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/base/head_navbar.tmpl b/templates/base/head_navbar.tmpl index 5521a28a12..459beb5515 100644 --- a/templates/base/head_navbar.tmpl +++ b/templates/base/head_navbar.tmpl @@ -86,7 +86,7 @@ <span class="sr-mobile-only">{{.locale.Tr "active_stopwatch"}}</span> </span> </a> - <div class="active-stopwatch-popup hide"> + <div class="active-stopwatch-popup tippy-target"> <div class="df ac"> <a class="stopwatch-link df ac" href="{{.ActiveStopwatch.IssueLink}}"> {{svg "octicon-issue-opened" 16 "mr-3"}} |