remove some styles that are causing mobile chrome to look bad
This commit is contained in:
parent
9483854d18
commit
9e7e4e88df
|
@ -274,15 +274,6 @@ a.In { }
|
|||
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) {
|
||||
|
|
4
web.go
4
web.go
|
@ -1991,7 +1991,7 @@ func avatate(w http.ResponseWriter, r *http.Request) {
|
|||
}
|
||||
|
||||
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 @@ func serveasset(w http.ResponseWriter, r *http.Request) {
|
|||
}
|
||||
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) {
|
||||
|
|
Loading…
Reference in New Issue