Skip to content

Commit

Permalink
fixup!: z-index
Browse files Browse the repository at this point in the history
  • Loading branch information
GabDug committed Sep 30, 2024
1 parent f0f3f79 commit 9d8c6fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/firefighter/components/modal/modal.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
@keydown.escape="open = false"
@click.away="open = false"
style="display: none;"
class="z-50 fixed top-0 left-0 w-full h-screen flex justify-center items-center" >
class="z-[100] fixed top-0 left-0 w-full h-screen flex justify-center items-center" >
<div aria-hidden="true"
class="absolute top-0 left-0 w-full h-screen bg-black transition duration-300 z-[90]"
class="absolute top-0 left-0 w-full h-screen bg-black transition duration-300"
:class="{ 'opacity-60': open, 'opacity-0': !open }"
x-show="open"
style="display: none;"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ <h1 class="text-4xl font-extrabold tracking-tight sm:text-5xl">No results</h1>
<div id="table-pagination" class="px-4 py-3 md:py-6 flex items-center justify-between">
<div class="flex-1 flex justify-between sm:hidden dark:text-neutral-100 text-neutral-700 pt-3 text-sm font-medium">
{% if page_obj.has_previous %}
<a href="?page={{ page_obj.previous_page_number }}" class="relative inline-flex items-center px-4 py-2 border border-neutral-300 dark:bg-neutral-800 dark:text-neutral-100 dark:hover:bg-neutral-700 dark:border-neutral-600 rounded-md bg-white hover:bg-neutral-50">
<a href="?page={{ page_obj.previous_page_number }}" class="relative inline-flex items-center px-4 py-2 border border-neutral-300 dark:bg-neutral-800 dark:text-neutral-100 dark:hover:bg-neutral-700 dark:border-neutral-600 rounded-md bg-white hover:bg-neutral-50">
Previous
</a>
{% endif %}
Expand Down Expand Up @@ -83,7 +83,7 @@ <h1 class="text-4xl font-extrabold tracking-tight sm:text-5xl">No results</h1>

{% for page_nb in page_range|default_if_none:page_obj.paginator.get_elided_page_range %}
<a href="{% querystring "page"=page_nb %}" {% if page_obj.number == page_nb %}aria-current="Goto page" {% endif %}
class="dark:bg-neutral-900 dark:hover:bg-neutral-700 bg-white border-neutral-300 text-neutral-500 hover:bg-neutral-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium {% if page_obj.number == page_nb %}z-10 bg-indigo-50 dark:border-indigo-500 dark:text-indigo-300 border-indigo-500 text-primary {% else %}dark:border-neutral-700 dark:text-neutral-200 {% endif %}">
class="dark:bg-neutral-900 dark:hover:bg-neutral-700 bg-white border-neutral-300 text-neutral-500 hover:bg-neutral-50 relative inline-flex items-center px-4 py-2 border text-sm font-medium {% if page_obj.number == page_nb %}z-[1] bg-indigo-50 dark:border-indigo-500 dark:text-indigo-300 border-indigo-500 text-primary {% else %}dark:border-neutral-700 dark:text-neutral-200 {% endif %}">
{{ page_nb }}
</a>
{% endfor %}
Expand Down

0 comments on commit 9d8c6fc

Please sign in to comment.