* [PATCH] list-packages: properly specify the size of images.
@ 2013-08-17 23:46 Cyril Roelandt
2013-08-18 22:26 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Cyril Roelandt @ 2013-08-17 23:46 UTC (permalink / raw)
To: guix-devel
* 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] list-packages: properly specify the size of images.
2013-08-17 23:46 [PATCH] list-packages: properly specify the size of images Cyril Roelandt
@ 2013-08-18 22:26 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2013-08-18 22:26 UTC (permalink / raw)
To: Cyril Roelandt; +Cc: guix-devel
Cyril Roelandt <tipecaml@gmail.com> skribis:
> * 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)
This must be the right thing, go ahead.
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-08-18 22:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-17 23:46 [PATCH] list-packages: properly specify the size of images Cyril Roelandt
2013-08-18 22:26 ` Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).