mirror of
https://git.um-react.app/um/um-react.git
synced 2025-11-28 11:33:02 +00:00
feat: responsive settings ui
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
import { Container, Flex } from '@chakra-ui/react';
|
||||
import { Container, Flex, useBreakpointValue } from '@chakra-ui/react';
|
||||
import { Settings } from '~/features/settings/Settings';
|
||||
|
||||
export function SettingsTab() {
|
||||
const containerProps = useBreakpointValue({
|
||||
base: { p: '0' },
|
||||
lg: { p: undefined },
|
||||
});
|
||||
|
||||
return (
|
||||
<Container as={Flex} maxW="container.lg">
|
||||
<Container as={Flex} maxW="container.lg" {...containerProps}>
|
||||
<Settings />
|
||||
</Container>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user