fix: fixed labels in tabs in deal editor
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import React, { FC, ReactNode } from "react";
|
||||
import { IconEdit } from "@tabler/icons-react";
|
||||
import { motion } from "framer-motion";
|
||||
import { Box, Tabs } from "@mantine/core";
|
||||
import { Box, Tabs, Text } from "@mantine/core";
|
||||
import GeneralTab from "@/app/deals/drawers/DealEditorDrawer/tabs/GeneralTab/GeneralTab";
|
||||
import useIsMobile from "@/hooks/utils/useIsMobile";
|
||||
import { DealSchema, ProjectSchema } from "@/lib/client";
|
||||
@ -43,7 +43,12 @@ const DealEditorBody: FC<Props> = props => {
|
||||
key={moduleRender.key}
|
||||
value={moduleRender.key}
|
||||
leftSection={moduleRender.icon}>
|
||||
{moduleRender.label}
|
||||
<Box
|
||||
style={{
|
||||
justifyItems: "left",
|
||||
}}>
|
||||
<Text>{moduleRender.label}</Text>
|
||||
</Box>
|
||||
</Tabs.Tab>
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user