x/pkgsite: is too restrictive on what constitutes a wide screen #47207
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
pkgsite/frontend
Issues related to pkgsite HTML/CSS/JavaScript and frontend development
pkgsite
Milestone
It seems
pkg.go.dev
looks at your current window width, and decides if you should see the "normal" version or "mobile" version, were the sidebar is removed. From my testing, the sidebar is not shown, unless thebody
width is at least 1263 pixels. That seems too high to me. On a normal day, my browser width is about 1188 pixels, and I use a variety of websites with no problem. I dont think I should have to increase my width just for Go package site.Before the move from
golang.org
, I never had to do anything like that. Its only now with the newpkg.go.dev
, and must be a recent change as well. Example page:https://pkg.go.dev/image
The text was updated successfully, but these errors were encountered: