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

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
tokarchuk/v1.17
Gary Wang 4 years ago committed by GitHub
parent f220286c00
commit f2a6cd6401
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      templates/repo/wiki/view.tmpl

@ -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}}">

Loading…
Cancel
Save