Skip to content

Commit

Permalink
refactoring: Reposition items inside ASCOR country box
Browse files Browse the repository at this point in the history
  • Loading branch information
martintomas committed Nov 28, 2023
1 parent ce3da15 commit 66b6a84
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion app/assets/stylesheets/tpi/pages/ascor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -645,13 +645,15 @@ $see-more-width-tablet: 130px;

@include desktop {
.columns {
justify-content: space-evenly;
flex-wrap: wrap;
}

.column {
flex-basis: unset;
flex-grow: unset;
flex-shrink: unset;
min-width: 50%;
max-width: 50%;
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions app/views/tpi/ascor/_country_details.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
<% end %>
</div>
<div class="column">
<%= render 'tpi/shared/property', highlight: false, name: 'International Monetary Fund fiscal monitor category' do %>
<%= country.fiscal_monitor_category %>
<%= render 'tpi/shared/property', highlight: false, name: 'International Monetary Fund fiscal monitor category' do %>
<%= country.fiscal_monitor_category %>
<% end %>
</div>
<div class="column">
Expand Down

0 comments on commit 66b6a84

Please sign in to comment.