From 857f5ff8e3424e572e26bf5f5a1c1204236c8834 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Grabowski?= Date: Fri, 18 Dec 2020 15:11:45 +0100 Subject: [PATCH 1/2] EZP-32223: Certain Back Office languages can break pager labels --- src/bundle/Resources/public/scss/_pagination.scss | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/bundle/Resources/public/scss/_pagination.scss b/src/bundle/Resources/public/scss/_pagination.scss index 2a9e8bb6f9..fd31807f13 100644 --- a/src/bundle/Resources/public/scss/_pagination.scss +++ b/src/bundle/Resources/public/scss/_pagination.scss @@ -21,10 +21,18 @@ .page-item.prev { @include pagination-prev-btn(); + + .page-link { + padding-left: calculateRem(20px); + } } .page-item.next { @include pagination-next-btn(); + + .page-link { + padding-right: calculateRem(20px); + } } .page-item.prev, @@ -37,7 +45,7 @@ } .page-link { - width: calculateRem(60px); + width: initial; border-radius: 0; } } From b63ae085645f96bd803636231faa7d52b0f8cc8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Grabowski?= Date: Tue, 22 Dec 2020 16:21:54 +0100 Subject: [PATCH 2/2] EZP-32223: change in react part --- .../public/scss/ui/modules/sub-items-list/_main.scss | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/bundle/Resources/public/scss/ui/modules/sub-items-list/_main.scss b/src/bundle/Resources/public/scss/ui/modules/sub-items-list/_main.scss index 31ba1bcad2..a72d4d821f 100644 --- a/src/bundle/Resources/public/scss/ui/modules/sub-items-list/_main.scss +++ b/src/bundle/Resources/public/scss/ui/modules/sub-items-list/_main.scss @@ -83,10 +83,18 @@ .c-pagination-button.prev { @include pagination-prev-btn(); + + .page-link { + padding-left: calculateRem(20px); + } } .c-pagination-button.next { @include pagination-next-btn(); + + .page-link { + padding-right: calculateRem(20px); + } } .c-pagination-button.prev, @@ -99,7 +107,7 @@ } .page-link { - width: calculateRem(60px); + width: initial; border-radius: 0; } }