From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: [PATCH] list-packages: properly specify the size of images. Date: Sun, 18 Aug 2013 01:46:52 +0200 Message-ID: <1376783212-29389-1-git-send-email-tipecaml@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34939) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAqW1-00040a-Mv for guix-devel@gnu.org; Sat, 17 Aug 2013 20:06:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VAqVt-0003mi-8j for guix-devel@gnu.org; Sat, 17 Aug 2013 20:06:41 -0400 Received: from mail-we0-x22a.google.com ([2a00:1450:400c:c03::22a]:57646) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAqVt-0003mc-33 for guix-devel@gnu.org; Sat, 17 Aug 2013 20:06:33 -0400 Received: by mail-we0-f170.google.com with SMTP id w60so2782863wes.29 for ; Sat, 17 Aug 2013 17:06:32 -0700 (PDT) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * build-aux/list-packages.scm (package->sxml, packages->sxml): specify the size of images in pixels (see http://www.w3.org/TR/html5/embedded-content-0.html#attr-dim-height) --- build-aux/list-packages.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-aux/list-packages.scm b/build-aux/list-packages.scm index bae25ac..c34ac33 100755 --- a/build-aux/list-packages.scm +++ b/build-aux/list-packages.scm @@ -113,7 +113,7 @@ exec guile -l "$0" \ ,(match (package-logo (package-name package)) ((? string? url) `(img (@ (src ,url) - (height "35em") + (height "35") (class "package-logo") (alt ("Logo of " ,(package-name package)))))) (_ #f)) @@ -132,7 +132,7 @@ exec guile -l "$0" \ (div (img (@ (src "graphics/guix-logo.small.png") (alt "GNU Guix and the GNU System") - (height "83em")))) + (height "83")))) (p "This web page lists the packages currently provided by the " (a (@ (href "manual/guix.html#GNU-Distribution")) "GNU system distribution") -- 1.8.3.1