Skip to content

Commit

Permalink
add viewport height
Browse files Browse the repository at this point in the history
  • Loading branch information
maxence-charriere committed May 30, 2024
1 parent 2a733be commit 9088586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/app/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ func (h *Handler) servePage(w http.ResponseWriter, r *http.Request) {
Content(h.ThemeColor),
Meta().
Name("viewport").
Content("width=device-width, initial-scale=1,minimum-scale=1, maximum-scale=1, user-scalable=0, viewport-fit=cover"),
Content("width=device-width, height=device-height, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"),
Meta().
Property("og:url").
Content(resolveOGResource(h.Domain, h.Resources.Resolve(page.URL().Path))),
Expand Down

0 comments on commit 9088586

Please sign in to comment.