From bd7ac6b11d9282e40fe55a1e855e82f65b4385c1 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 24 Apr 2017 21:05:59 +0300 Subject: Adjust layout of package version details page --- mod/mod-package-version-details.cxx | 4 ++-- www/package-version-details-body.css | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/mod/mod-package-version-details.cxx b/mod/mod-package-version-details.cxx index cbcc74c..30b2567 100644 --- a/mod/mod-package-version-details.cxx +++ b/mod/mod-package-version-details.cxx @@ -195,11 +195,11 @@ handle (request& rq, response& rs) const auto& pu (pkg->package_url); if (pu && *pu != pkg->url) - s << TR_URL (*pu, "pkg-url"); + s << TR_URL (*pu, "package-url"); const auto& pe (pkg->package_email); if (pe && *pe != em) - s << TR_EMAIL (*pe, "pkg-email"); + s << TR_EMAIL (*pe, "package-email"); const auto& be (pkg->build_email); if (be && ((pe && *be != *pe) || (!pe && *be != em))) diff --git a/www/package-version-details-body.css b/www/package-version-details-body.css index 2fa2972..fffe9c2 100644 --- a/www/package-version-details-body.css +++ b/www/package-version-details-body.css @@ -92,7 +92,7 @@ h1, h2, h3 border: 1px outset rgba(230,230,230,.24); */ } -#version th {width: 7.6em;} +#version th {width: 9.5em;} #version tr.version td .value, #version tr.priority td .value, @@ -106,7 +106,7 @@ h1, h2, h3 #version tr.sha256 td .value { /* Increase the chances of 64-char value not to be truncated. */ - font-size: 0.88em; + font-size: 0.85em; } /* @@ -117,7 +117,7 @@ h1, h2, h3 margin-top: 1.2em; margin-bottom: 1em; } -#package th {width: 7.6em;} +#package th {width: 9.5em;} /* * Dependencies and requirements tables. -- cgit v1.1