Skip to content
This repository was archived by the owner on Jan 25, 2024. It is now read-only.

Commit

Permalink
Updated margins
Browse files Browse the repository at this point in the history
  • Loading branch information
sab-LC committed Oct 26, 2023
1 parent 06532b0 commit 0e9af4b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions localcontexts/static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ button[disabled],
}

.page {
margin: 0 2%;
margin: 0 5px;
padding: 8px 16px;
font-weight: bold;
}
Expand All @@ -455,13 +455,13 @@ button[disabled],
background-color: #e1f6f9;
}

.pagination > a.current{
.pagination > span.current{
display: inline-block;
font-size: large;
color: #fff;
background-color: #007385;
border: 2px solid #007385;
margin: 0 3px;
margin: 0 5px;
padding: 8px 16px;
border-radius: 20%;
}
Expand Down
4 changes: 2 additions & 2 deletions templates/snippets/pagination.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<span class="grey-text margin-right-16 font-size-14 bold"><i class="fa-solid fa-chevrons-left"></i>&nbsp;&nbsp;&nbsp;&nbsp;<i class="fa-solid fa-chevron-left"></i>&nbsp;&nbsp;Previous</span>
{% endif %}

<a class="current">{{ items.number }} </a>
<span class="current">{{ items.number }} </span>

{% if items.has_next %}
{% if items.next_page_number >= 1 %}
Expand Down Expand Up @@ -64,7 +64,7 @@

{% else %}
<span class="grey-text margin-right-16 font-size-14 bold"><i class="fa-solid fa-chevrons-left"></i>&nbsp;&nbsp;&nbsp;&nbsp;<i class="fa-solid fa-chevron-left"></i>&nbsp;&nbsp;Previous</span>
<a class="current">1</a>
<span class="current">1</span>
<span class="grey-text margin-left-16 font-size-14 bold">Next&nbsp;&nbsp;<i class="fa-solid fa-chevron-right"></i>&nbsp;&nbsp;&nbsp;&nbsp;<i class="fa-solid fa-chevrons-right"></i></span>
{% endif %}
</div>
Expand Down

0 comments on commit 0e9af4b

Please sign in to comment.