Merge pull request #4732 from consul/fix_mobile_investment_layout

Fix investment list layout on small/medium screens
This commit is contained in:
Javi Martín
2021-11-09 14:14:14 +01:00
committed by GitHub
3 changed files with 8 additions and 6 deletions

View File

@@ -514,10 +514,10 @@
@include breakpoint(medium) {
min-height: $line-height * 15;
}
.with-image > .row {
display: flex;
.with-image > .row {
display: flex;
}
}
}

View File

@@ -12,11 +12,13 @@
<%= t("budgets.investments.votes.already_supported") %>
</div>
<% if feature?(:remove_investments_supports) %>
<%= button_to t("budgets.investments.votes.remove_support"), remove_support_path,
<%= button_to remove_support_path,
class: "button button-remove-support expanded",
method: "delete",
remote: true,
"aria-label": remove_support_aria_label %>
"aria-label": remove_support_aria_label do %>
<%= t("budgets.investments.votes.remove_support") %>
<% end %>
<% end %>
</div>
<% else %>

View File

@@ -4,7 +4,7 @@
</span>
<div class="wrap row">
<div id="budget-investments" class="budget-investments-list small-12 medium-9 column">
<div id="budget-investments" class="budget-investments-list small-12 column">
<div class="small-12 search-results">
<%= tag.h2 t("management.budget_investments.filters.unfeasible") if params[:unfeasible].present? %>