mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
list-packages: properly specify the size of images.
* 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 commit is contained in:
parent
f99f6fd6fa
commit
ba95e7028f
1 changed files with 2 additions and 2 deletions
|
@ -113,7 +113,7 @@ (define (package-logo name)
|
|||
,(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 @@ (define (packages->sxml packages)
|
|||
(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")
|
||||
|
|
Loading…
Reference in a new issue