diff options
author | silverwind <me@silverwind.io> | 2021-04-13 02:10:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-12 20:10:57 -0400 |
commit | 51313fbb633c8d2fd710e7a44acdd3a77f1ae32c (patch) | |
tree | d3fbf0c9f8a5ba5af6c03b00ef4dfe2ba582a43d /templates/repo | |
parent | b18042bb8ca72acf1ccb26e342abb4d4d53e6113 (diff) | |
download | gitea-51313fbb633c8d2fd710e7a44acdd3a77f1ae32c.tar.gz gitea-51313fbb633c8d2fd710e7a44acdd3a77f1ae32c.zip |
Clone panel fixes (#15435)
- Use <button> over <div> for a button
- Fix absent border-right on wiki
- Fix absent border-radius on wiki
Co-authored-by: 6543 <6543@obermui.de>
Diffstat (limited to 'templates/repo')
-rw-r--r-- | templates/repo/home.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl index b77f28f920..ed31398355 100644 --- a/templates/repo/home.tmpl +++ b/templates/repo/home.tmpl @@ -110,13 +110,13 @@ {{if eq $n 0}} <div class="ui action tiny input" id="clone-panel"> {{template "repo/clone_buttons" .}} - <div class="ui basic jump dropdown icon button poping up" data-content="{{.i18n.Tr "repo.download_archive"}}" data-variation="tiny inverted" data-position="top right"> + <button id="download-btn" class="ui basic jump dropdown icon button poping up" data-content="{{.i18n.Tr "repo.download_archive"}}" data-variation="tiny inverted" data-position="top right"> {{svg "octicon-download"}} <div class="menu"> <a class="item archive-link" data-url="{{$.RepoLink}}/archive/{{EscapePound $.BranchName}}.zip">{{svg "octicon-file-zip"}} ZIP</a> <a class="item archive-link" data-url="{{$.RepoLink}}/archive/{{EscapePound $.BranchName}}.tar.gz">{{svg "octicon-file-zip"}} TAR.GZ</a> </div> - </div> + </button> </div> {{end}} </div> |