Skip to content

Commit

Permalink
Merge pull request #312 from nationalarchives/AYR-880/search-results-…
Browse files Browse the repository at this point in the history
…padding

remove extra padding
  • Loading branch information
anthonyhashemi authored Mar 28, 2024
2 parents a762a03 + b6e7586 commit 5336db6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions app/static/src/scss/includes/_search-results-summary.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
}
}

.govuk-grid-column-two-thirds {
&__search-results-summary {
padding: 0;
}
}

.govuk-table__cell {
&--results-summary {
font-size: 1rem;
Expand Down
2 changes: 1 addition & 1 deletion app/templates/main/no-results-found.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="govuk-!-padding-bottom-9"></div>
<div class="govuk-!-padding-bottom-5"></div>
<div class="govuk-grid-column-two-thirds">
<div class="govuk-grid-column-two-thirds govuk-grid-column-two-thirds__search-results-summary">
<h2 class="govuk-heading-m">Help with your search</h2>
<ul class="govuk-list govuk-list--bullet">
<li>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/main/search-results-summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
{% include "breadcrumb.html" %}
{% endwith %}
{% if num_records_found > 0 %}
<div class="govuk-grid-column-two-thirds">
<div class="govuk-grid-column-two-thirds govuk-grid-column-two-thirds__search-results-summary">
<table class="govuk-table govuk-table--results-summary"
id="tbl_result"
aria-label="Record search results">
Expand Down

0 comments on commit 5336db6

Please sign in to comment.