diff --git a/app/views/admin/shared/_stimulus_pagination.html.haml b/app/views/admin/shared/_stimulus_pagination.html.haml index 0b633f8b47..e8f3df710a 100644 --- a/app/views/admin/shared/_stimulus_pagination.html.haml +++ b/app/views/admin/shared/_stimulus_pagination.html.haml @@ -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 } } diff --git a/app/webpacker/css/admin/components/pagination.scss b/app/webpacker/css/admin/components/pagination.scss index 98df96f06e..18baee978c 100644 --- a/app/webpacker/css/admin/components/pagination.scss +++ b/app/webpacker/css/admin/components/pagination.scss @@ -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;