Skip to content

Commit a1e1f9f

Browse files
committed
restore large
1 parent 2360f2b commit a1e1f9f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/repo/home_sidebar_top.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
{{end}}
2424
<div class="tw-flex tw-items-center tw-flex-wrap tw-gap-1 tw-my-2" id="repo-topics">
2525
{{/* !!!! it SHOULD and MUST match the code in web_src/js/features/repo-home.ts */}}
26-
{{range .Topics}}<a class="repo-topic ui label gt-ellipsis" title={{.Name}} href="{{AppSubUrl}}/explore/repos?q={{.Name}}&topic=1">{{.Name}}</a>{{end}}
26+
{{range .Topics}}<a class="repo-topic ui large label gt-ellipsis" title={{.Name}} href="{{AppSubUrl}}/explore/repos?q={{.Name}}&topic=1">{{.Name}}</a>{{end}}
2727
</div>
2828
{{if and .Permission.IsAdmin (not .Repository.IsArchived)}}
2929
<button id="manage_topic" class="btn interact-fg tw-text-12">{{ctx.Locale.Tr "repo.topic.manage_topics"}}</button>

web_src/js/features/repo-home.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export function initRepoTopicBar() {
4848
// TODO: sort items in topicDropdown, or items in edit div will have different order to the items in view div
4949
// !!!! it SHOULD and MUST match the code in "home_sidebar_top.tmpl" !!!!
5050
const link = document.createElement('a');
51-
link.classList.add('repo-topic', 'ui', 'label', 'gt-ellipsis');
51+
link.classList.add('repo-topic', 'ui', 'large', 'label', 'gt-ellipsis');
5252
link.href = `${appSubUrl}/explore/repos?q=${encodeURIComponent(topic)}&topic=1`;
5353
link.textContent = topic;
5454
viewDiv.append(link);

0 commit comments

Comments
 (0)