From b5fba4cd426a84927aeac1fac1af3b3c713203ac Mon Sep 17 00:00:00 2001 From: Morgan Bazalgette Date: Wed, 10 Jan 2018 00:11:01 +0100 Subject: [PATCH] Fix organization profile on mobile devices (#3332) --- templates/org/home.tmpl | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/templates/org/home.tmpl b/templates/org/home.tmpl index caef9034b..0b5ae0fac 100644 --- a/templates/org/home.tmpl +++ b/templates/org/home.tmpl @@ -1,21 +1,18 @@ {{template "base/head" .}}
-
-
-
- -
-
- {{.Org.DisplayName}} - {{if .IsOrganizationOwner}}{{end}} -
- {{if .Org.Description}}

{{.Org.Description}}

{{end}} -
- {{if .Org.Location}}
{{.Org.Location}}
{{end}} - {{if .Org.Website}}{{end}} -
-
- + {{/* overflow: auto is the clearfix - this avoids the image going beyond + the container where it is supposed to stay inside. */}} +
+ +
+
+ {{.Org.DisplayName}} + {{if .IsOrganizationOwner}}{{end}} +
+ {{if .Org.Description}}

{{.Org.Description}}

{{end}} +
+ {{if .Org.Location}}
{{.Org.Location}}
{{end}} + {{if .Org.Website}}{{end}}
@@ -23,7 +20,7 @@
-
+
{{if .IsOrganizationOwner}}