Skip to content

Commit

Permalink
tighten up spacing for MUR results display
Browse files Browse the repository at this point in the history
  • Loading branch information
patphongs committed Jul 7, 2022
1 parent 0fd507d commit 024c3cc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions fec/fec/static/scss/components/_accordions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,15 @@
border-bottom: 0;
margin-left: u(3rem);
padding-bottom: 0;
max-width: u(80rem);
}

&.results__content li {
padding-bottom: u(2rem);

&:last-child {
padding-bottom: 0;
}
}
}

Expand Down
4 changes: 2 additions & 2 deletions fec/legal/templates/partials/legal-search-results-mur.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
</div>
{# show only first document highlight result #}
<ul>
<li class="post--icon t-serif t-italic u-padding--top">
<li class="post--icon t-serif t-italic u-padding--top--med">
&#8230;{{ query_highlight[0] | safe }}&#8230;
</li>
</ul>
Expand All @@ -76,7 +76,7 @@
<ul>
{% for highlight in query_highlight %}
{% if(loop.index0 != 0) %}
<li class="t-serif t-italic u-padding--bottom">&#8230;{{ highlight | safe }}&#8230;</li>
<li class="t-serif t-italic">&#8230;{{ highlight | safe }}&#8230;</li>
{% endif %}
{% endfor %}
</ul>
Expand Down

0 comments on commit 024c3cc

Please sign in to comment.