diff --git a/app/assets/stylesheets/admin.scss b/app/assets/stylesheets/admin.scss index 4fdfca770..51dfe510c 100644 --- a/app/assets/stylesheets/admin.scss +++ b/app/assets/stylesheets/admin.scss @@ -593,13 +593,6 @@ code { } } -.admin { - - .investment-projects-list.medium-9 { - width: 100%; - } -} - .investment-projects-summary { th, diff --git a/app/assets/stylesheets/participation.scss b/app/assets/stylesheets/participation.scss index f60dd05fb..1f6e47636 100644 --- a/app/assets/stylesheets/participation.scss +++ b/app/assets/stylesheets/participation.scss @@ -503,7 +503,6 @@ .debates-list, .proposals-list, -.investment-projects-list, .budget-investments-list { @include breakpoint(medium) { @@ -511,12 +510,15 @@ } } -.investment-projects-list, .budget-investments-list { @include breakpoint(medium) { min-height: $line-height * 15; } + + .with-image > .row { + display: flex; + } } .budget-investments-list .budget-investment, @@ -545,6 +547,7 @@ } img { + height: 100%; max-width: 12rem; } } diff --git a/app/components/budgets/investments/votes_component.html.erb b/app/components/budgets/investments/votes_component.html.erb index 0aedbe37e..0535d9815 100644 --- a/app/components/budgets/investments/votes_component.html.erb +++ b/app/components/budgets/investments/votes_component.html.erb @@ -11,11 +11,13 @@