refactor: styles refactored
This commit is contained in:
@ -34,7 +34,7 @@ const DealsTable: FC = () => {
|
||||
return (
|
||||
<Stack
|
||||
gap={"xs"}
|
||||
h={"calc(100vh - var(--mantine-spacing-xl) * 4)"}>
|
||||
h={"100%"}>
|
||||
<BaseTable
|
||||
records={[...deals]}
|
||||
columns={columns}
|
||||
@ -61,6 +61,9 @@ const DealsTable: FC = () => {
|
||||
</Group>
|
||||
}
|
||||
groups={undefined}
|
||||
style={{
|
||||
height: "100%",
|
||||
}}
|
||||
/>
|
||||
{paginationInfo && paginationInfo.totalPages > 1 && (
|
||||
<Group justify={"flex-end"}>
|
||||
|
||||
@ -4,7 +4,7 @@ import Funnel from "@/app/deals/components/shared/Funnel/Funnel";
|
||||
import PageBlock from "@/components/layout/PageBlock/PageBlock";
|
||||
|
||||
export const BoardView = () => (
|
||||
<PageBlock>
|
||||
<PageBlock style={{ height: "100%" }}>
|
||||
<MainBlockHeader />
|
||||
<Space h="md" />
|
||||
<Funnel />
|
||||
|
||||
@ -2,7 +2,7 @@ import DealsTable from "@/app/deals/components/desktop/DealsTable/DealsTable";
|
||||
import PageBlock from "@/components/layout/PageBlock/PageBlock";
|
||||
|
||||
export const TableView = () => (
|
||||
<PageBlock>
|
||||
<PageBlock style={{ height: "100%" }}>
|
||||
<DealsTable />
|
||||
</PageBlock>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user