From 121061eba8beb5bcdde4fb7343a6c97581687e4b Mon Sep 17 00:00:00 2001
From: xavier jouppe
Date: Thu, 27 Jun 2024 18:06:23 +0200
Subject: [PATCH] style: better show more
---
.../documents/[slug]/_components/actes/actes-rne.tsx | 4 +---
components-ui/show-more/index.tsx | 2 +-
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/app/(header-default)/documents/[slug]/_components/actes/actes-rne.tsx b/app/(header-default)/documents/[slug]/_components/actes/actes-rne.tsx
index 4e50f0100..c7a67170c 100644
--- a/app/(header-default)/documents/[slug]/_components/actes/actes-rne.tsx
+++ b/app/(header-default)/documents/[slug]/_components/actes/actes-rne.tsx
@@ -60,9 +60,7 @@ export const AgentActesRNE: React.FC<{
{documents.actes.length > 5 ? (
diff --git a/components-ui/show-more/index.tsx b/components-ui/show-more/index.tsx
index 756685b18..e6ad64405 100644
--- a/components-ui/show-more/index.tsx
+++ b/components-ui/show-more/index.tsx
@@ -22,7 +22,7 @@ Design point of attention:
export default function ShowMore(props: IProps) {
const [isExpanded, setIsExpanded] = useState(false);
const id = useId();
- const collapsedHeight = props.collapsedHeight ?? '20rem';
+ const collapsedHeight = props.collapsedHeight ?? '25rem';
return (