Fix UI on mobile view (#25315)
Various fixes to pages or elements which were looking ugly on mobile. <details> <summary>Screenshots</summary>          </details> Co-authored by @silverwind --------- Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
parent
57120d9969
commit
9e74063498
17 changed files with 329 additions and 201 deletions
|
@ -26,7 +26,7 @@
|
|||
<div class="item">
|
||||
<h3>{{.locale.Tr "repo.clone_this_repo"}} <small>{{.locale.Tr "repo.clone_helper" "http://git-scm.com/book/en/Git-Basics-Getting-a-Git-Repository" | Str2html}}</small></h3>
|
||||
|
||||
<div class="gt-df">
|
||||
<div class="repo-button-row">
|
||||
{{if and .CanWriteCode (not .Repository.IsArchived)}}
|
||||
<a class="ui small button" href="{{.RepoLink}}/_new/{{.BranchName | PathEscapeSegments}}/">
|
||||
{{.locale.Tr "repo.editor.new_file"}}
|
||||
|
@ -44,7 +44,7 @@
|
|||
</div>
|
||||
|
||||
{{if not .Repository.IsArchived}}
|
||||
<div class="ui divider"></div>
|
||||
<div class="ui divider gt-my-0"></div>
|
||||
|
||||
<div class="item">
|
||||
<h3>{{.locale.Tr "repo.create_new_repo_command"}}</h3>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue