Updates CSS after pagination markup change

This commit is contained in:
Marin @Home
2025-11-11 12:01:47 -05:00
committed by Maikel Linke
parent 0ffd4dcc35
commit 0332049551
2 changed files with 3 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
- link = pagy_anchor(pagy)
%nav.pagination{ "data-controller": "search" }
%ul
%nav{ "data-controller": "search" }
%ul.pagination
- if pagy.prev
%li
%a.page.prev{ data: { action: 'click->search#changePage', page: pagy.prev } }

View File

@@ -8,8 +8,8 @@
display: flex;
justify-content: center;
gap: 8px;
list-style-type: none;
button.page,
.page {
width: $btn-relaxed-height;
line-height: $btn-relaxed-height;
@@ -69,17 +69,6 @@
&:active {
border: none;
}
}
button {
margin: 0 0.35em;
background-color: $white;
color: $near-black;
box-shadow: $box-shadow;
&.active {
color: $white;
background-color: $red;
cursor: default;