Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
fix icon uploader on Edit Listing page (bug 731182)
Browse files Browse the repository at this point in the history
  • Loading branch information
cvan committed Feb 28, 2012
1 parent 274a441 commit 5fa93fe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 2 additions & 5 deletions media/css/devreg/media.less
Expand Up @@ -66,7 +66,7 @@
background-size: contain;
background-position: 50% 50%;
background-repeat: no-repeat;
border: 3px solid #D2EDF5;
border: 3px solid @taupe;
float: left;
height: 94px;
margin-right: 15px;
Expand Down Expand Up @@ -154,13 +154,10 @@
margin-right: 1em;
}
.icon_preview {
border: 1px solid #6A89AC;
border: 1px solid @faint-gray;
text-align: center;
padding: 5px;
background-color: #fff;
img {
vertical-align: middle;
}
}
margin-bottom: 1em;
}
Expand Down
Expand Up @@ -74,6 +74,9 @@
</div>
</div>
</div>
<div class="hidden">
{{ form.icon_type }}
</div>
<div class="invisible-upload">
<a class="button" href="#">{{ _('Upload a Custom Icon...') }}</a>
<input type="file" id="id_icon_upload" name="icon_upload"
Expand Down Expand Up @@ -184,4 +187,3 @@
</div>
{% endif %}
</div>

0 comments on commit 5fa93fe

Please sign in to comment.