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)
This commit is contained in:
parent
cc1d61f1f5
commit
8e6a114317
2 changed files with 2 additions and 6 deletions
|
@ -54,9 +54,9 @@
|
||||||
{{$description := .DescriptionHTML $.Context}}
|
{{$description := .DescriptionHTML $.Context}}
|
||||||
{{if $description}}<p>{{$description}}</p>{{end}}
|
{{if $description}}<p>{{$description}}</p>{{end}}
|
||||||
{{if .Topics}}
|
{{if .Topics}}
|
||||||
<div class="ui tags">
|
<div class="gt-df gt-fw gt-gap-2 gt-mb-3">
|
||||||
{{range .Topics}}
|
{{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}}
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
|
@ -32,10 +32,6 @@
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui.repository.list .item .ui.tags {
|
|
||||||
margin-bottom: 0.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ui.repository.list .repo-title .labels {
|
.ui.repository.list .repo-title .labels {
|
||||||
word-break: normal;
|
word-break: normal;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
|
Loading…
Reference in a new issue