Skip to content

Commit

Permalink
tweaks for #356
Browse files Browse the repository at this point in the history
  • Loading branch information
elizoller committed Oct 1, 2021
1 parent a8eb25d commit 1a68b90
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
7 changes: 5 additions & 2 deletions web/themes/custom/asulib_barrio/css/style.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion web/themes/custom/asulib_barrio/css/style.min.css

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion web/themes/custom/asulib_barrio/scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,11 @@ ul.pagination {
@media (max-width: 768px) {
.page-link-icon {
height: 35px;
span {
display: none;
}
}
.page-link span {
.page-number:not(.active) {
display: none;
}
}
2 changes: 1 addition & 1 deletion web/themes/custom/asulib_barrio/templates/pager.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
{% endif %}
{# Now generate the actual pager piece. #}
{% for key, item in items.pages %}
<li class="page-item {{ current == key ? 'active' : '' }}">
<li class="page-item {{ current == key ? 'active' : '' }} page-number">
{% if current == key %}
<span class="page-link">
{{- key -}}
Expand Down

0 comments on commit 1a68b90

Please sign in to comment.