diff --git a/cmd/view/search.go b/cmd/view/search.go index 9b86dbb..f4b05b4 100644 --- a/cmd/view/search.go +++ b/cmd/view/search.go @@ -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