Skip to content

Commit 7ded86f

Browse files
GiteaBotsilverwind
andauthored
Remove superflous tw-content-center (#33741) (#33743)
Backport #33741 by @silverwind Co-authored-by: silverwind <[email protected]>
1 parent 27a60fd commit 7ded86f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/base/paginate.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
{{if eq .Num -1}}
1818
<a class="disabled item">...</a>
1919
{{else}}
20-
<a class="{{if .IsCurrent}}active {{end}}item tw-content-center" {{if not .IsCurrent}}href="{{$paginationLink}}?page={{.Num}}{{if $paginationParams}}&{{$paginationParams}}{{end}}"{{end}}>{{.Num}}</a>
20+
<a class="{{if .IsCurrent}}active {{end}}item" {{if not .IsCurrent}}href="{{$paginationLink}}?page={{.Num}}{{if $paginationParams}}&{{$paginationParams}}{{end}}"{{end}}>{{.Num}}</a>
2121
{{end}}
2222
{{end}}
2323
<a class="{{if not .HasNext}}disabled{{end}} item navigation" {{if .HasNext}}href="{{$paginationLink}}?page={{.Next}}{{if $paginationParams}}&{{$paginationParams}}{{end}}"{{end}}>

0 commit comments

Comments
 (0)