Skip to content

Commit 7b414f4

Browse files
committed
fix
1 parent 70685a9 commit 7b414f4

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

modules/web/router_path.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ type RouterPathGroup struct {
2424
func (g *RouterPathGroup) ServeHTTP(resp http.ResponseWriter, req *http.Request) {
2525
chiCtx := chi.RouteContext(req.Context())
2626
path := chiCtx.URLParam(g.pathParam)
27+
28+
// FIXME: update chi route info and the handler func info?
29+
2730
for _, m := range g.matchers {
2831
if m.matchPath(chiCtx, path) {
2932
handler := m.handlerFunc

templates/devtest/flex-list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
<a class="text primary" href="{{$.Link}}">
6969
gitea-org / gitea
7070
</a>
71-
<span data-tooltip-content="{{ctx.Locale.Tr "repo.fork"}}">{{svg "octicon-repo-forked"}}</span>
71+
<span class="flex-text-inline" data-tooltip-content="{{ctx.Locale.Tr "repo.fork"}}">{{svg "octicon-repo-forked"}}</span>
7272
</div>
7373
<div class="flex-item-trailing">
7474
<a class="muted" href="{{$.Link}}">

templates/shared/issuelist.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
</div>
3636
{{end}}
3737
</div>
38-
<div class="flex-item-body tw-mt-1">
38+
<div class="flex-item-body">
3939
<a class="index" href="{{if .Link}}{{.Link}}{{else}}{{$.Link}}/{{.Index}}{{end}}">
4040
{{if eq $.listType "dashboard"}}
4141
{{.Repo.FullName}}#{{.Index}}

web_src/css/shared/flex-list.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
.flex-item .flex-item-main {
1818
display: flex;
1919
flex-direction: column;
20+
gap: 0.25em;
2021
flex-grow: 1;
2122
flex-basis: 60%; /* avoid wrapping the "flex-item-trailing" too aggressively */
2223
min-width: 0; /* make the "text truncate" work, otherwise the flex axis is not limited and the text just overflows */

0 commit comments

Comments
 (0)