From d5b0b7b1d099125bf6f86b2e49acdbf2e6625beb Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 16 Nov 2015 17:30:26 +0200 Subject: Change 'about'web page layout --- brep/repository-details.cxx | 8 +++++--- www/repository-details.css | 2 +- 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; -- cgit v1.1