Correctly Place Pager

This commit is contained in:
snoutie 2025-05-23 19:54:44 +02:00
parent 3e07e2f06e
commit bc79e0ac2c

View File

@ -114,8 +114,6 @@ func searchView() {
p.MinWidth = 10
p.Justify = option.JustifyRight
form.New(p, "pagerForm", func(p *form.Element) {
p.MaxWidth = -1
p.MinWidth = 8
p.Method = http.MethodGet
p.Include = "[name='q'], [name='p']"
p.Target = "#SearchResultsContainer>*"
@ -125,6 +123,7 @@ func searchView() {
p.PushURL = true
container.New(p, "LinkPager", func(p *container.Element) {
p.LinkedHorizontal = true
p.Justify = option.JustifyRight
input.New(p, "p", input.TypeNumber, func(p *input.Element) {
p.Parameter = true
p.Shape = option.ShapeRound