From: Kalle Söderman Date: Wed, 2 Feb 2011 22:37:27 +0000 (+0000) Subject: Screenshot in sized div to make loading smoother X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=eca09460765aac4befd00df4c4e97fb9c6930661;p=deb%2Fpackages.git Screenshot in sized div to make loading smoother --- diff --git a/static/debpkg.css b/static/debpkg.css index 80d597e..d816342 100644 --- a/static/debpkg.css +++ b/static/debpkg.css @@ -47,6 +47,9 @@ #pmoreinfo a { text-decoration: none; } +#pmoreinfo div.screenshot { + min-height: 120px; +} #pmoreinfo a:hover { text-decoration: underline; } diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl index 943ea8b..c380d9f 100644 --- a/templates/html/show.tmpl +++ b/templates/html/show.tmpl @@ -64,7 +64,9 @@

[% g('Links for %s', pkg) %]

[% IF screenshots_url && screenshots_thumb_url && !is_source %] +
Screenshot +
[% END %]

[% g('%s Resources:', organisation) %]