fix(ui): Fix repo description margin
This commit is contained in:
parent
6d984774ef
commit
d2371d30ce
1 changed files with 11 additions and 8 deletions
|
|
@ -9,14 +9,17 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="repo-topics tw-my-2" id="repo-topics">
|
||||
{{$canManageTopics := and .Permission.IsAdmin (not .Repository.IsArchived)}}
|
||||
{{if or $canManageTopics .Topics}}
|
||||
<div class="repo-topics tw-mt-2" id="repo-topics">
|
||||
{{range .Topics}}
|
||||
<a class="repo-topic ui large label" href="{{AppSubUrl}}/explore/repos?q={{.Name}}&topic=1">{{.Name}}</a>
|
||||
{{end}}
|
||||
{{if and .Permission.IsAdmin (not .Repository.IsArchived)}}
|
||||
{{if $canManageTopics}}
|
||||
<button id="manage_topic" class="btn interact-fg tw-text-12">{{ctx.Locale.Tr "repo.topic.manage_topics"}}</button>
|
||||
{{end}}
|
||||
</div>
|
||||
{{end}}
|
||||
|
||||
{{if and .Permission.IsAdmin (not .Repository.IsArchived)}}
|
||||
<div class="ui form tw-hidden tw-flex tw-gap-2 tw-my-3" id="topic_edit">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue