Manav Rathi b5cc2ed9d8
hstack
2025-01-06 16:45:38 +05:30

39 lines
802 B
TypeScript

import { Box, styled } from "@mui/material";
export const VerticallyCentered = styled(Box)`
flex: 1;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
text-align: center;
overflow: auto;
`;
export const FlexWrapper = styled(Box)`
display: flex;
width: 100%;
align-items: center;
`;
export const SpaceBetweenFlex = styled(FlexWrapper)`
justify-content: space-between;
`;
/**
* Deprecated, use {@link CenteredFlex} from @/base/components/mui/container
* instead
*/
export const CenteredFlex = styled(FlexWrapper)`
justify-content: center;
`;
export const FluidContainer = styled(FlexWrapper)`
flex: 1;
`;
export const VerticallyCenteredFlex = styled(Box)({
display: "flex",
alignItems: "center",
});