Skip to content

Commit cba9e80

Browse files
authored
Merge pull request #309 from MITLibraries/use-280-help-boxes-no-results
Adds help boxes to no results page
2 parents d38b405 + 42b4696 commit cba9e80

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

app/assets/stylesheets/partials/_results.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@
261261
font-size: 1.6rem;
262262
line-height: $lh-xloose;
263263
margin: 0;
264+
margin-bottom: 2em;
264265
max-width: 760px;
265266

266267
a {

app/views/search/results.html.erb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
<% end %>
3232
<% end %>
3333
</ol>
34+
<%# Note `results_callouts` is also displayed in no errors condition below %>
3435
<%= render partial: "results_callouts" %>
3536
</main>
3637
<%= render partial: "results_sidebar" %>
@@ -42,6 +43,9 @@
4243
<div id="results-layout-wrapper">
4344
<main id="results">
4445
<%= render partial: "no_results" %>
46+
47+
<%# Note `results_callouts` is also displayed in results and no errors condition above %>
48+
<%= render partial: "results_callouts" %>
4549
</main>
4650
</div>
4751

0 commit comments

Comments
 (0)