Files
homarr/apps/nextjs/src/components/manage/manage-container.tsx
Meier Lukas 6029a5b592 style: improve mobile compatibility of certain manage pages (#678)
* style: improve mobile compatibility of certain manage pages

* style: improve mobile support for more manage pages

* fix: format issues

* chore: address pull request feedback
2024-06-22 21:02:17 +02:00

12 lines
397 B
TypeScript

import type { PropsWithChildren } from "react";
import type { MantineSize } from "@mantine/core";
import { Container } from "@mantine/core";
export const ManageContainer = ({ children, size }: PropsWithChildren<{ size?: MantineSize }>) => {
return (
<Container size={size} px={{ base: "0 !important", md: "var(--mantine-spacing-md) !important" }}>
{children}
</Container>
);
};