From 440593c5e43eac3ede2acf257e1862a648b02d40 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Tue, 28 May 2024 17:18:14 +0200 Subject: [PATCH] fix(Pagination): center text when link --- src/theme/pagination.ts | 2 +- .../__snapshots__/Pagination.spec.ts.snap | 506 +++++++++--------- 2 files changed, 254 insertions(+), 254 deletions(-) diff --git a/src/theme/pagination.ts b/src/theme/pagination.ts index 28082b03..27f20cdd 100644 --- a/src/theme/pagination.ts +++ b/src/theme/pagination.ts @@ -3,6 +3,6 @@ export default { root: '', list: 'flex items-center gap-1', ellipsis: 'pointer-events-none', - label: 'min-w-5' + label: 'min-w-5 text-center' } } diff --git a/test/components/__snapshots__/Pagination.spec.ts.snap b/test/components/__snapshots__/Pagination.spec.ts.snap index 1a2f7b84..93e2f842 100644 --- a/test/components/__snapshots__/Pagination.spec.ts.snap +++ b/test/components/__snapshots__/Pagination.spec.ts.snap @@ -9,19 +9,19 @@ exports[`Pagination > renders with active color black correctly 1`] = ` Ellipsis slotEllipsis slotNext slotPrev slot