all repos — honk @ 89a7cc9e19ea2d907a904b013e0d1cd59c2c6be3

my fork of honk

remove some styles that are causing mobile chrome to look bad
Ted Unangst tedu@tedunangst.com
Wed, 04 Dec 2019 00:40:22 -0500
commit

89a7cc9e19ea2d907a904b013e0d1cd59c2c6be3

parent

16d59f1a3bb26fe187f025437fac8caca1cd8d64

2 files changed, 2 insertions(+), 11 deletions(-)

jump to
M docs/mandoc.cssdocs/mandoc.css

@@ -274,15 +274,6 @@ .Li { font-style: normal;

font-weight: normal; font-family: monospace; } -/* Tooltip support. */ - -h1.Sh, h2.Ss { position: relative; } -.An, .Ar, .Cd, .Cm, .Dv, .Em, .Er, .Ev, .Fa, .Fd, .Fl, .Fn, .Ft, -.Ic, code.In, .Lb, .Lk, .Ms, .Mt, .Nd, code.Nm, .Pa, .Rs, -.St, .Sx, .Sy, .Va, .Vt, .Xr { - display: inline-block; - position: relative; } - /* Overrides to avoid excessive margins on small devices. */ @media (max-width: 37.5em) {
M web.goweb.go

@@ -1991,7 +1991,7 @@ w.Write(a)

} func serveasset(w http.ResponseWriter, r *http.Request) { - w.Header().Set("Cache-Control", "max-age=7776000") + //w.Header().Set("Cache-Control", "max-age=7776000") dir := viewDir if r.URL.Path == "/local.css" { dir = dataDir

@@ -2000,7 +2000,7 @@ http.ServeFile(w, r, dir+"/views"+r.URL.Path)

} func servehelp(w http.ResponseWriter, r *http.Request) { name := mux.Vars(r)["name"] - w.Header().Set("Cache-Control", "max-age=3600") + //w.Header().Set("Cache-Control", "max-age=3600") http.ServeFile(w, r, viewDir+"/docs/"+name) } func servehtml(w http.ResponseWriter, r *http.Request) {