Fix clone panel in wiki position not always align right (#12326)

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
Gary Wang 2020-07-30 00:30:37 +08:00 committed by GitHub
parent f220286c00
commit f2a6cd6401
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,8 +3,8 @@
{{template "repo/header" .}} {{template "repo/header" .}}
{{ $title := .title}} {{ $title := .title}}
<div class="ui container"> <div class="ui container">
<div class="ui stackable grid"> <div class="ui stackable secondary menu mobile--margin-between-items mobile--no-negative-margins">
<div class="ui ten wide column"> <div class="fitted item">
<div class="choose page"> <div class="choose page">
<div class="ui floating filter dropdown" data-no-results="{{.i18n.Tr "repo.pulls.no_results"}}"> <div class="ui floating filter dropdown" data-no-results="{{.i18n.Tr "repo.pulls.no_results"}}">
<div class="ui basic small button"> <div class="ui basic small button">
@ -28,7 +28,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="ui six wide column"> <div class="right fitted item">
<div class="ui action small input" id="clone-panel"> <div class="ui action small input" id="clone-panel">
{{if not $.DisableHTTP}} {{if not $.DisableHTTP}}
<button class="ui basic clone button" id="repo-clone-https" data-link="{{.WikiCloneLink.HTTPS}}"> <button class="ui basic clone button" id="repo-clone-https" data-link="{{.WikiCloneLink.HTTPS}}">