Skip to content

Commit

Permalink
Merge pull request #12 from informa/issue/separate-statics
Browse files Browse the repository at this point in the history
Fixing some block icon issues
  • Loading branch information
Sebastian Vetter committed Aug 27, 2013
2 parents f7e2555 + a19f52a commit f6d211d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 2 additions & 3 deletions fancypages/static/fancypages/less/widgets.less
Original file line number Diff line number Diff line change
Expand Up @@ -102,16 +102,15 @@
.image_container {
background: @white;
border: 1px solid #e6e6e6;
min-height: auto;
height: 104px;
min-height: 104px;
margin-bottom: 10px;
padding: 16px;
line-height: 104px;
width: auto;
.border-radius(5px);
img {
width: 100%;
max-height: 104px;
height: 104px;
vertical-align: middle;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ <h3>Add content</h3>
<button type="submit" class="fp-btn" name="code" value="{{ fp_block.0 }}">
<div class="image_container">
<!-- <label id="{{ fp_block.0 }}"> -->
<img src="{% static "fancypages/img/block_icons/" %}{{ fp_block.0 }}.png" class="{{ fp_block.0 }}" alt="{{ fp_block.1 }}" title="{{ fp_block.1 }}">
<img src="{% static "fancypages/img/block_icons/" %}{{ fp_block.0 }}.png" class="fp-{{ fp_block.0 }}" alt="{{ fp_block.1 }}" title="{{ fp_block.1 }}">
<!-- </label> -->
</div>
{{ fp_block.1 }}
Expand Down

0 comments on commit f6d211d

Please sign in to comment.