Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

show 64px icons on detail page (bug 744806)

  • Loading branch information...
commit f0f1e10e16faa4edd29c9595946ef493b51d0c04 1 parent 2dee3de
@cvan cvan authored
View
7 media/css/mkt/detail.less
@@ -64,7 +64,7 @@
font-size: 14px;
text-shadow: 0 1px 0 @white;
.icon {
- .width(2);
+ .max-width(2);
}
.actions {
.width(3);
@@ -98,9 +98,8 @@
}
.visual {
float: left;
- width: 128px;
- height: 128px;
- // TODO: nuke when 128px icons available
+ max-width: 128px;
+ max-height: 128px;
img {
max-width: 128px;
max-height: 128px;
View
2  mkt/detail/templates/detail/app.html
@@ -30,7 +30,7 @@
{% else %}
<section class="product-details">
<div class="visual">
- <img class="icon" src="{{ product.get_icon_url(128) }}">
+ <img class="icon" src="{{ product.get_icon_url(64) }}">
</div>
<div class="vitals">
<h1>{{ product.name }}</h1>
View
2  mkt/purchase/templates/purchase/start.html
@@ -4,7 +4,7 @@
<a href="#" class="close">X</a>
<div class="product-details c">
<div class="visual">
- <img class="icon" src="{icon_128_url}">
+ <img class="icon" src="{iconUrl}">
</div>
<div class="vitals">
<h2>{name}</h2>
View
2  mkt/site/helpers.py
@@ -68,7 +68,7 @@ def product_as_dict(request, product, purchased=None):
src=request.GET.get('src', '')),
'author': author,
'author_url': author_url,
- 'icon_128_url': product.get_icon_url(128)
+ 'iconUrl': product.get_icon_url(64)
}
if product.is_premium():
ret.update({
Please sign in to comment.
Something went wrong with that request. Please try again.