diff --git a/src/components/Author/AuthorCard/AuthorCard.tsx b/src/components/Author/AuthorCard/AuthorCard.tsx index 8bd7bc79..3975b566 100644 --- a/src/components/Author/AuthorCard/AuthorCard.tsx +++ b/src/components/Author/AuthorCard/AuthorCard.tsx @@ -339,7 +339,7 @@ export const AuthorCard = (props: AuthorCardProps) => { - + <>

{t('Followers')}

@@ -366,7 +366,7 @@ export const AuthorCard = (props: AuthorCardProps) => { - + <>

{t('Subscriptions')}

    diff --git a/src/components/Nav/Modal/Modal.module.scss b/src/components/Nav/Modal/Modal.module.scss index 6a9b655b..ac88da4f 100644 --- a/src/components/Nav/Modal/Modal.module.scss +++ b/src/components/Nav/Modal/Modal.module.scss @@ -74,3 +74,9 @@ .noPadding { padding: 0 2rem; } + +.maxHeight { + display: flex; + flex-direction: column; + height: 90vh; +} diff --git a/src/components/Nav/Modal/Modal.tsx b/src/components/Nav/Modal/Modal.tsx index c568e150..452f66cc 100644 --- a/src/components/Nav/Modal/Modal.tsx +++ b/src/components/Nav/Modal/Modal.tsx @@ -13,6 +13,7 @@ interface ModalProps { children: JSX.Element onClose?: () => void noPadding?: boolean + maxHeight?: boolean } export const Modal = (props: ModalProps) => { @@ -39,7 +40,8 @@ export const Modal = (props: ModalProps) => {
    event.stopPropagation()} >