diff --git a/.changeset/slow-wolves-reflect.md b/.changeset/slow-wolves-reflect.md new file mode 100644 index 0000000..f1ad200 --- /dev/null +++ b/.changeset/slow-wolves-reflect.md @@ -0,0 +1,5 @@ +--- +"@openfun/cunningham-react": patch +--- + +make Pagination use new Input diff --git a/packages/react/src/components/Pagination/index.scss b/packages/react/src/components/Pagination/index.scss index c7c810a..74826ca 100644 --- a/packages/react/src/components/Pagination/index.scss +++ b/packages/react/src/components/Pagination/index.scss @@ -15,5 +15,9 @@ display: flex; align-items: center; gap: 0.5rem; + + .c__field--default { + width: 100px; + } } } \ No newline at end of file diff --git a/packages/react/src/components/Pagination/index.tsx b/packages/react/src/components/Pagination/index.tsx index 977ff93..a171b75 100644 --- a/packages/react/src/components/Pagination/index.tsx +++ b/packages/react/src/components/Pagination/index.tsx @@ -146,9 +146,6 @@ export const Pagination = ({ />