From eca09460765aac4befd00df4c4e97fb9c6930661 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kalle=20S=C3=B6derman?= Date: Wed, 2 Feb 2011 22:37:27 +0000 Subject: [PATCH] Screenshot in sized div to make loading smoother --- static/debpkg.css | 3 +++ templates/html/show.tmpl | 2 ++ 2 files changed, 5 insertions(+) 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) %]