diff --git a/src/app/deals/components/desktop/DealsTable/DealsTable.tsx b/src/app/deals/components/desktop/DealsTable/DealsTable.tsx index 4640742..4810fe0 100644 --- a/src/app/deals/components/desktop/DealsTable/DealsTable.tsx +++ b/src/app/deals/components/desktop/DealsTable/DealsTable.tsx @@ -34,7 +34,7 @@ const DealsTable: FC = () => { return ( + h={"100%"}> { } groups={undefined} + style={{ + height: "100%", + }} /> {paginationInfo && paginationInfo.totalPages > 1 && ( diff --git a/src/app/deals/components/shared/views/BoardView.tsx b/src/app/deals/components/shared/views/BoardView.tsx index 37ace4e..ae71134 100644 --- a/src/app/deals/components/shared/views/BoardView.tsx +++ b/src/app/deals/components/shared/views/BoardView.tsx @@ -4,7 +4,7 @@ import Funnel from "@/app/deals/components/shared/Funnel/Funnel"; import PageBlock from "@/components/layout/PageBlock/PageBlock"; export const BoardView = () => ( - + diff --git a/src/app/deals/components/shared/views/TableView.tsx b/src/app/deals/components/shared/views/TableView.tsx index 1e45313..c0755e2 100644 --- a/src/app/deals/components/shared/views/TableView.tsx +++ b/src/app/deals/components/shared/views/TableView.tsx @@ -2,7 +2,7 @@ import DealsTable from "@/app/deals/components/desktop/DealsTable/DealsTable"; import PageBlock from "@/components/layout/PageBlock/PageBlock"; export const TableView = () => ( - + ); diff --git a/src/components/layout/PageBlock/PageBlock.module.css b/src/components/layout/PageBlock/PageBlock.module.css index e7e9eda..7f23f50 100644 --- a/src/components/layout/PageBlock/PageBlock.module.css +++ b/src/components/layout/PageBlock/PageBlock.module.css @@ -19,12 +19,6 @@ } .container-full-height { - min-height: var(--page-height); - height: var(--page-height); - max-height: var(--page-height); -} - -.container-full-height-fixed { height: var(--page-height); } diff --git a/src/components/layout/PageBlock/PageBlock.tsx b/src/components/layout/PageBlock/PageBlock.tsx index 864b265..20c3992 100644 --- a/src/components/layout/PageBlock/PageBlock.tsx +++ b/src/components/layout/PageBlock/PageBlock.tsx @@ -1,7 +1,7 @@ import { CSSProperties, FC, ReactNode } from "react"; import classNames from "classnames"; -import styles from "./PageBlock.module.css"; import { Box } from "@mantine/core"; +import styles from "./PageBlock.module.css"; type Props = { children: ReactNode; @@ -19,7 +19,6 @@ const PageBlock: FC = ({ style, className = "", fullHeight = false, - fullHeightFixed = false, noBorderRadius = false, fullScreenMobile = false, transparent = false, @@ -31,7 +30,6 @@ const PageBlock: FC = ({ className={classNames( styles.container, fullHeight && styles["container-full-height"], - fullHeightFixed && styles["container-full-height-fixed"], noBorderRadius && styles["container-no-border-radius"], fullScreenMobile && styles["container-full-screen-mobile"], transparent && styles.transparent, diff --git a/src/components/layout/PageContainer/PageContainer.module.css b/src/components/layout/PageContainer/PageContainer.module.css index 5d21c11..17e1c6b 100644 --- a/src/components/layout/PageContainer/PageContainer.module.css +++ b/src/components/layout/PageContainer/PageContainer.module.css @@ -2,6 +2,7 @@ display: flex; flex-direction: column; min-height: 100vh; + height: 100vh; background-color: transparent; @media (min-width: 48em) {