From f4de83da2d49a6cdfd7360b9f8afd0dfeecd93bc Mon Sep 17 00:00:00 2001 From: decabeza Date: Tue, 9 Jan 2018 19:28:04 +0100 Subject: [PATCH] fixes vertical align on support/price on index list --- app/assets/stylesheets/participation.scss | 8 ++++---- app/views/budgets/investments/_investment.html.erb | 8 +++++--- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/app/assets/stylesheets/participation.scss b/app/assets/stylesheets/participation.scss index 0adc7c81f..bc8633ec9 100644 --- a/app/assets/stylesheets/participation.scss +++ b/app/assets/stylesheets/participation.scss @@ -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; } diff --git a/app/views/budgets/investments/_investment.html.erb b/app/views/budgets/investments/_investment.html.erb index 7b37a9ceb..e999c7f34 100644 --- a/app/views/budgets/investments/_investment.html.erb +++ b/app/views/budgets/investments/_investment.html.erb @@ -90,9 +90,11 @@
> -

- <%= investment.formatted_price %> -

+
+ + <%= investment.formatted_price %> + +
<% else %>
>