mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-11 03:40:20 +00:00
Updates CSS after pagination markup change
This commit is contained in:
committed by
Maikel Linke
parent
0ffd4dcc35
commit
0332049551
@@ -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 } }
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user