Skip to content

Commit

Permalink
Fix search
Browse files Browse the repository at this point in the history
  • Loading branch information
neoformit committed Dec 7, 2023
1 parent 37d1546 commit b9a4fd9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apollo_portal/home/static/home/css/search.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
height: 100vh;
padding: 2rem 5rem;
position: absolute;
z-index: 3;
z-index: 11;
top: 0;
bottom: 0;
text-align: right;
Expand All @@ -26,7 +26,7 @@
}
#search form {
position: relative;
z-index: 4;
z-index: 12;
width: 90%;
max-width: 600px;
padding: 30px;
Expand Down
1 change: 0 additions & 1 deletion apollo_portal/home/templates/home/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
<script src="https://code.jquery.com/jquery-3.1.0.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<script src="{% static 'home/js/search.js' %}"></script>

{% block head %}
{% endblock %}
Expand Down
4 changes: 4 additions & 0 deletions apollo_portal/home/templates/home/snippets/search.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{% load static %}

<div id="search">
<div class="backdrop">
<span class="material-icons">close</span>
Expand All @@ -9,3 +11,5 @@
</button>
</form>
</div>

<script src="{% static 'home/js/search.js' %}"></script>

0 comments on commit b9a4fd9

Please sign in to comment.