From 2318caa702b2e55fe95248a7d5eee2ce58a088a4 Mon Sep 17 00:00:00 2001 From: ouidade Date: Tue, 7 Oct 2025 19:07:16 +0200 Subject: [PATCH] pager /ressources --- web/themes/custom/reha/dist/css/bundle.css | 11 +++++++++-- web/themes/custom/reha/scss/pages/_ressources.scss | 14 ++++++++++++-- 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/web/themes/custom/reha/dist/css/bundle.css b/web/themes/custom/reha/dist/css/bundle.css index dbc3b07..fed41cf 100644 --- a/web/themes/custom/reha/dist/css/bundle.css +++ b/web/themes/custom/reha/dist/css/bundle.css @@ -3416,8 +3416,15 @@ html.js body.node-type-operation.node-id-7 div.dialog-off-canvas-main-canvas div order: 6; display: none; } -.page-ressources .view-ressources .pagination { - width: 100%; +.page-ressources .view-ressources .pager { + flex: 0 1 100%; +} +.page-ressources .view-ressources .pager ul { + display: flex; + justify-content: center; +} +.page-ressources .view-ressources .pager ul li { + margin-right: 1rem; } .node-type-ressource { diff --git a/web/themes/custom/reha/scss/pages/_ressources.scss b/web/themes/custom/reha/scss/pages/_ressources.scss index 3f96a17..7ef3cba 100644 --- a/web/themes/custom/reha/scss/pages/_ressources.scss +++ b/web/themes/custom/reha/scss/pages/_ressources.scss @@ -212,8 +212,18 @@ } } } - .pagination{ - width: 100%; + // .pagination{ + // width: 100%; + // } + .pager{ + flex: 0 1 100%; + ul{ + display: flex; + justify-content: center; + li { + margin-right: 1rem; + } + } } }