From 1c9efe37e296013c9346180a630172e920f0d1b0 Mon Sep 17 00:00:00 2001 From: MrMelon <github@onpointcoding.net> Date: Mon, 4 Apr 2022 22:07:15 +0100 Subject: [PATCH] Add mobile meta tag --- module/discord/pages/index.go.html | 1 + module/gitea/pages/index.go.html | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/module/discord/pages/index.go.html b/module/discord/pages/index.go.html index 800e651..db36031 100644 --- a/module/discord/pages/index.go.html +++ b/module/discord/pages/index.go.html @@ -1,6 +1,7 @@ <!DOCTYPE html> <html lang="en-GB"> <head> + <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Discord | Melon Tools</title> <style> html, body { diff --git a/module/gitea/pages/index.go.html b/module/gitea/pages/index.go.html index 4c9b4a5..a8b21ce 100644 --- a/module/gitea/pages/index.go.html +++ b/module/gitea/pages/index.go.html @@ -1,12 +1,14 @@ <!DOCTYPE html> <html lang="en-GB"> <head> + <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Gitea | Melon Tools</title> <style> .page-content { display: flex; flex-direction: row; align-items: flex-start; + flex-wrap: wrap; } </style> </head> @@ -31,9 +33,9 @@ <p>Select repository:</p> <ul> {{range .Repos}} - <li> - <a href="?org={{$.SelOrg}}&repo={{.Name}}">{{$.SelOrg}}/{{.Name}}</a> - </li> + <li> + <a href="?org={{$.SelOrg}}&repo={{.Name}}">{{$.SelOrg}}/{{.Name}}</a> + </li> {{end}} </ul> </div>