aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-11-16 17:30:26 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-11-16 17:30:26 +0200
commitd5b0b7b1d099125bf6f86b2e49acdbf2e6625beb (patch)
tree55d5569deb2535da752e19562296a36bdb8277b5
parent6eca8a647c79e9a5b100672b55f5d02273a28772 (diff)
Change 'about'web page layout
-rw-r--r--brep/repository-details.cxx8
-rw-r--r--www/repository-details.css2
2 files changed, 6 insertions, 4 deletions
diff --git a/brep/repository-details.cxx b/brep/repository-details.cxx
index 4302c15..b8a2e5b 100644
--- a/brep/repository-details.cxx
+++ b/brep/repository-details.cxx
@@ -77,14 +77,16 @@ namespace brep
<< A(HREF="#" + web::mime_url_encode (id)) << r.name << ~A
<< ~H1;
- if (r.email)
- s << A << HREF << "mailto:" << *r.email << ~HREF << *r.email << ~A;
-
if (r.summary)
s << H2 << *r.summary << ~H2;
if (r.description)
s << P_DESCRIPTION (*r.description, false);
+
+ if (r.email)
+ s << P
+ << A << HREF << "mailto:" << *r.email << ~HREF << *r.email << ~A
+ << ~P;
}
t.commit ();
diff --git a/www/repository-details.css b/www/repository-details.css
index 3a57b8d..1f1a845 100644
--- a/www/repository-details.css
+++ b/www/repository-details.css
@@ -5,7 +5,7 @@ h1
font-size: 2.074em;
line-height: 1.4em;
- margin: .6em 0 .2em 0;
+ margin: .6em 0 .6em 0;
white-space: nowrap;
overflow: hidden;