]> Cypherpunks repositories - gostls13.git/commit
net/http: make FileServer look good on mobile
authorMax πŸ‘¨πŸ½β€πŸ’» Coplan <mchcopl@gmail.com>
Fri, 22 Dec 2023 19:38:29 +0000 (11:38 -0800)
committerGopher Robot <gobot@golang.org>
Sat, 24 Feb 2024 19:36:28 +0000 (19:36 +0000)
commite0fc269f77af97f7cf33097d82f92ff7e08a2f06
tree061f17f8c160df23ccc12a35c7b0648dd790fc18
parentef84d62cfc358ff62c60da9ceec754e7a389b5d5
net/http: make FileServer look good on mobile

Currently when viewing directories on a phone, the text is small and
often hard to tap correctly.  This commit adds the viewport property to
the page to make it look correct on phones.  This commit also makes the
page behave in Standards Mode instead of Quirks Mode which does not
effect the behavior of this page but makes me feel good inside β˜ΊοΈ

Change-Id: I4babcf79085e85fba57453b7a235e4750a269a42
Reviewed-on: https://go-review.googlesource.com/c/go/+/552595
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Commit-Queue: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Max Coplan <mchcopl@gmail.com>
src/net/http/fs.go
src/net/http/fs_test.go