fixes vertical align on support/price on index list

This commit is contained in:
decabeza
2018-01-09 19:28:04 +01:00
committed by Bertocq
parent baeef5e1e8
commit f4de83da2d
2 changed files with 9 additions and 7 deletions

View File

@@ -938,10 +938,10 @@
}
}
.investment-project .supports .total-supports.no-button,
.investment-project-show .supports .total-supports.no-button,
.budget-investment .supports .total-supports.no-button,
.budget-investment-show .supports .total-supports.no-button {
.investment-project .no-button,
.investment-project-show .no-button,
.budget-investment .no-button,
.budget-investment-show .no-button {
display: block;
margin-top: $line-height * 1.5;
}

View File

@@ -90,9 +90,11 @@
<div id="<%= dom_id(investment) %>_price"
class="supports small-12 medium-3 column text-center"
<%= 'data-equalizer-watch' if feature?(:allow_images) && investment.image.present? %>>
<p class="investment-project-amount margin-top">
<%= investment.formatted_price %>
</p>
<div class="supports">
<span class="total-supports no-button">
<%= investment.formatted_price %>
</span>
</div>
</div>
<% else %>
<div <%= 'data-equalizer-watch' if feature?(:allow_images) && investment.image.present? %>></div>