Skip to content

Commit

Permalink
Merge pull request #229 from arXiv/bug/ARXIVNG-1901
Browse files Browse the repository at this point in the history
ARXIVNG-1901 apply layout fixes for search results display
  • Loading branch information
eawoods authored Feb 26, 2019
2 parents 4129fbb + bdf6686 commit f56d2b6
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 55 deletions.
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name = "pypi"

[packages]
arxiv-auth = "==0.2.7"
arxiv-base = "==0.12.1"
arxiv-base = "==0.14.3"
boto = "==2.48.0"
"boto3" = "==1.6.6"
botocore = "==1.9.6"
Expand Down
47 changes: 8 additions & 39 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 5 additions & 6 deletions search/static/css/search.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion search/static/css/search.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 5 additions & 6 deletions search/static/sass/search.sass
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@

.pagination-list
margin: 0 !important
li
list-style: none
margin-bottom: 0
li + li // fixes override from content li + li
margin: 0

.breathe-vertical
margin-top: 4rem
Expand All @@ -44,12 +49,6 @@
margin-left: 10rem !important
margin-right: 10rem !important

.pagination-list li
list-style: none

.pagination-list li + li // fixes override from content li + li
margin: 0

.fieldset
border: 1px solid #DBDBDB // $grey-lighter
border-radius: 2px // $radius-small
Expand Down
4 changes: 2 additions & 2 deletions search/templates/search/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ <h1 class="title is-clearfix">{% block title %}Search{% endblock title %}</h1>
<button class="button is-small" id="feedback-button">Feedback?</button>
</div>
</div>
<content>
<div class="content">
{% block within_content %}
Specific results here
{% endblock within_content %}
Expand All @@ -56,5 +56,5 @@ <h1 class="title is-clearfix">{% block title %}Search{% endblock title %}</h1>
<span class="help" style="display: inline-block;"><a href="{{ config.RELEASE_NOTES_URL }}">{{ config.RELEASE_NOTES_TEXT }}</a>&nbsp;&nbsp;</span>
<button class="button is-small" id="feedback-button">Feedback?</button>
</div>
</content>
</div>
{% endblock content %}

0 comments on commit f56d2b6

Please sign in to comment.