File tree 2 files changed +4
-4
lines changed 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 35
35
</div>
36
36
{{end}}
37
37
{{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"}}">
41
41
<input type="hidden" name="topics" value="{{range $i, $v := .Topics}}{{.Name}}{{if Eval $i "+" 1 "<" (len $.Topics)}},{{end}}{{end}}">
42
42
{{range .Topics}}
43
43
{{/* 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() {
43
43
const topicArray = topics . split ( ',' ) ;
44
44
topicArray . sort ( ) ;
45
45
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>' ) ;
47
47
link . attr ( 'href' , `${ appSubUrl } /explore/repos?q=${ encodeURIComponent ( topicArray [ i ] ) } &topic=1` ) ;
48
48
link . text ( topicArray [ i ] ) ;
49
49
link . insertBefore ( mgrBtn ) ; // insert all new topics before manage button
You can’t perform that action at this time.
0 commit comments