summaryrefslogtreecommitdiffstats
path: root/templates/explore
diff options
context:
space:
mode:
authorhiifong <i@hiif.ong>2023-06-24 20:30:46 +0800
committerGitHub <noreply@github.com>2023-06-24 20:30:46 +0800
commit8e6a114317e6b6b137116f1b8e33c2290056cb6e (patch)
tree5983dfce7d339fc130fc60ce820f254f0b163b46 /templates/explore
parentcc1d61f1f5d4b2e60135186e44550745f0e13f0f (diff)
downloadgitea-8e6a114317e6b6b137116f1b8e33c2290056cb6e.tar.gz
gitea-8e6a114317e6b6b137116f1b8e33c2290056cb6e.zip
fix tags line no margin see #25255 (#25280)
This is my first pr, there are many things I don't understand very well, I am very sorry, I rearranged the code and opened this new pr. Now: ![image](https://github.com/go-gitea/gitea/assets/89133723/5acd9d81-2152-4966-9372-1fbf902ed073)
Diffstat (limited to 'templates/explore')
-rw-r--r--templates/explore/repo_list.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/explore/repo_list.tmpl b/templates/explore/repo_list.tmpl
index 49adfe5b45..47e9921332 100644
--- a/templates/explore/repo_list.tmpl
+++ b/templates/explore/repo_list.tmpl
@@ -54,9 +54,9 @@
{{$description := .DescriptionHTML $.Context}}
{{if $description}}<p>{{$description}}</p>{{end}}
{{if .Topics}}
- <div class="ui tags">
+ <div class="gt-df gt-fw gt-gap-2 gt-mb-3">
{{range .Topics}}
- {{if ne . ""}}<a href="{{AppSubUrl}}/explore/repos?q={{.}}&topic=1"><div class="ui small label topic">{{.}}</div></a>{{end}}
+ {{if ne . ""}}<a class="ui label" href="{{AppSubUrl}}/explore/repos?q={{.}}&topic=1">{{.}}</a>{{end}}
{{end}}
</div>
{{end}}