The following commit has been merged in the debian-master branch:
commit eca09460765aac4befd00df4c4e97fb9c6930661
Author: Kalle Söderman <[email protected]>
Date:   Wed Feb 2 22:37:27 2011 +0000

    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 @@
 <div id="pmoreinfo">
 <h2>[% g('Links for %s', pkg) %]</h2>
 [% IF screenshots_url && screenshots_thumb_url && !is_source %]
+<div class="screenshot">
 <a id="screenshot" href="[% screenshots_url _ pkg %]"><img src="[% 
"$screenshots_thumb_url/$pkg/$version" %]" alt="Screenshot" border="0"/></a>
+</div>
 [% END %]
 <h3>[% g('%s Resources:', organisation) %]</h3>
 <ul>

-- 
APT Archive Web-Frontend (Alioth repository)


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to