Skip to content

Commit 79fe6f9

Browse files
StephDriverajrbyers
authored andcommitted
a11y: #4886 clean news pagniation tidy css
1 parent a4d4666 commit 79fe6f9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/themes/clean/assets/css/clean.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ main a:hover {
9595
margin-bottom: 4rem;
9696
}
9797

98-
.site-pagination > .btn {
99-
border-radius: 2rem;
98+
.site-pagination .btn {
99+
text-decoration: none;
100100
}
101101

102102
.news-post {

src/themes/clean/templates/core/news/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ <h2> {% trans 'This journal currently has no {{ journal_settings.news.news_title
2424
{% endfor %}
2525
</div>
2626
<section aria-label="pagination">
27-
<div class="pagination-block">
27+
<div class="pagination-block site-pagination">
2828
<ul class="d-flex justify-content-center list-inline">
2929
{% if news_items.has_previous %}
3030
<li class="list-inline-item">

src/themes/clean/templates/press/core/news/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ <h2>{% trans 'This journal currently has no news items to display' %}.</h2>
2626
{% endfor %}
2727
</div>
2828
<section aria-label="pagination">
29-
<div class="pagination-block">
29+
<div class="pagination-block site-pagination">
3030
<ul class="d-flex justify-content-center list-inline">
3131
{% if news_items.has_previous %}
3232
<li class="list-inline-item">

0 commit comments

Comments
 (0)