Explorar el Código

fix modal height

AykutSarac hace 2 años
padre
commit
8a6bec0b25
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/components/Modal/styles.tsx

+ 2 - 1
src/components/Modal/styles.tsx

@@ -55,7 +55,8 @@ export const ContentWrapper = styled.div`
   color: ${({ theme }) => theme.TEXT_NORMAL};
   padding: 16px;
   overflow: hidden auto;
-  max-height: 500px;
+  height: fit-content;
+  max-height: calc(100vh - 156px);
 `;
 
 export const ControlsWrapper = styled.div`