File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 3535 </div>
3636 {{end}}
3737 {{if and .Permission.IsAdmin (not .Repository.IsArchived)}}
38- <div class="ui form gt-hidden gt-df gt-mt-4" id="topic_edit">
39- <div class="field gt-f1 gt-mr-3 ">
40- <div class="ui fluid multiple search selection dropdown" data-text-count-prompt="{{ctx.Locale.Tr "repo.topic.count_prompt"}}" data-text-format-prompt="{{ctx.Locale.Tr "repo.topic.format_prompt"}}">
38+ <div class="ui form gt-hidden gt-df gt-fc gt- mt-4" id="topic_edit">
39+ <div class="field gt-f1 gt-mb-2 ">
40+ <div class="ui fluid multiple search selection dropdown gt-fw " data-text-count-prompt="{{ctx.Locale.Tr "repo.topic.count_prompt"}}" data-text-format-prompt="{{ctx.Locale.Tr "repo.topic.format_prompt"}}">
4141 <input type="hidden" name="topics" value="{{range $i, $v := .Topics}}{{.Name}}{{if Eval $i "+" 1 "<" (len $.Topics)}},{{end}}{{end}}">
4242 {{range .Topics}}
4343 {{/* keey the same layout as Fomantic UI generated labels */}}
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ export function initRepoTopicBar() {
4343 const topicArray = topics . split ( ',' ) ;
4444 topicArray . sort ( ) ;
4545 for ( let i = 0 ; i < topicArray . length ; i ++ ) {
46- const link = $ ( '<a class="ui repo-topic large label topic"></a>' ) ;
46+ const link = $ ( '<a class="ui repo-topic large label topic gt-m-0 "></a>' ) ;
4747 link . attr ( 'href' , `${ appSubUrl } /explore/repos?q=${ encodeURIComponent ( topicArray [ i ] ) } &topic=1` ) ;
4848 link . text ( topicArray [ i ] ) ;
4949 link . insertBefore ( mgrBtn ) ; // insert all new topics before manage button
You can’t perform that action at this time.
0 commit comments