diff --git a/mon-entreprise/source/components/Overlay.tsx b/mon-entreprise/source/components/Overlay.tsx index e9a78b082..54d217358 100644 --- a/mon-entreprise/source/components/Overlay.tsx +++ b/mon-entreprise/source/components/Overlay.tsx @@ -82,6 +82,7 @@ const StyledOverlayWrapper = styled.div<{ offsetTop: number | null }>` left: 0; right: 0; bottom: 0; + max-height: 100vh; background: rgba(255, 255, 255, 0.9); overflow: auto; z-index: 2; diff --git a/publicodes/ui-react/source/Overlay.tsx b/publicodes/ui-react/source/Overlay.tsx index 6f2866971..9bf945d4c 100644 --- a/publicodes/ui-react/source/Overlay.tsx +++ b/publicodes/ui-react/source/Overlay.tsx @@ -84,6 +84,7 @@ const StyledOverlayWrapper = styled.div<{ offsetTop: number | null }>` right: 0; bottom: 0; background: rgba(255, 255, 255, 0.9); + max-height: 100vh; overflow: auto; z-index: 2; .overlayContent {