Skip to content

Commit

Permalink
Check layout from filter presence
Browse files Browse the repository at this point in the history
  • Loading branch information
jazairi committed Feb 9, 2024
1 parent 244e421 commit 1c423d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/search/results.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

<%= render(partial: 'shared/error', collection: @errors) %>

<div class="<%= 'layout-1q3q' if @filters.present? %> <%= 'layout-3q1q' if @results.blank? %> layout-band top-space">
<div class="<%= @filters.present? ? 'layout-1q3q' : 'layout-3q1q' %> layout-band top-space">
<% if @filters.present? %>
<aside class="col1q filter-container">
<div id="filters">
Expand Down

0 comments on commit 1c423d3

Please sign in to comment.