feat: pagination shared between facetwp and elasticsearch#30
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates Reactive Search (Elasticsearch) pagination styling to use shared CSS custom properties so it can visually align with other pagination (e.g., FacetWP), per the referenced issue.
Changes:
- Refactors pagination layout and button styling to use shared
--pagination-*CSS custom properties. - Updates hover/focus behavior to use the
hocusvariant and adds an active-state underline indicator. - Minor ordering/spacing tweaks (e.g., results info utilities order, pagination container margin, pagination info top margin).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| .yrs-pagination { | ||
| @apply mb-8; | ||
| } | ||
|
|
||
| .yrs-pagination-list { | ||
| @apply justify-end gap-x-2 gap-y-4; | ||
| @apply m-(--pagination-item-margin) justify-end gap-x-(--pagination-item-gap-x) gap-y-(--pagination-item-gap-y); | ||
| } | ||
|
|
||
| .yrs-pagination-button { | ||
| @apply size-10 min-h-10 min-w-10 p-2 text-black no-underline transition-all; | ||
| @apply relative size-(--pagination-item-size) rounded-(--pagination-item-radius) p-2 text-black no-underline transition-all; |
There was a problem hiding this comment.
Yep. THis is a scaffold. it moves to brave. always brave. its the brave scaffold. if these things arent there. THats your problem
There was a problem hiding this comment.
We have some post install steps. i could make one of them to tel you to make sure you have em in your variable.css hm
44a74a0 to
e12d976
Compare
|
Coverage report for commit: 511010b Summary - Lines: 77.08% | Methods: 22.22%
🤖 comment via lucassabreu/comment-coverage-clover |
||||||||||||||||||||||||||||||||||||||||||||
a6602d0 to
ab56b2d
Compare
Paginatie-stijlen maken nu gebruik van gedeelde CSS custom properties, zodat FacetWP en Elasticsearch paginatie visueel op elkaar aansluiten.
Zie ook: yardinternet/brave#119