mango-ui-v3/components/styles.tsx

27 lines
601 B
TypeScript
Raw Normal View History

export const PageBodyWrapper = ({ children, ...props }) => (
<div style={{ minHeight: 'calc(100vh - 105px)' }} {...props}>
{children}
</div>
)
// export const PageBodyWrapper = styled.div`
// min-height: calc(100vh - 105px);
// @media screen and (min-width: 768px) {
// min-height: 100vh;
// }
// `
2021-04-24 19:10:28 -07:00
export const ElementTitle = ({
children,
noMarignBottom = false,
className = '',
}) => (
2021-04-18 03:34:37 -07:00
<div
className={`flex justify-center ${
2021-04-19 09:15:49 -07:00
noMarignBottom ? 'mb-0' : 'mb-2.5'
2021-04-24 19:10:28 -07:00
} text-lg font-semibold items-center text-th-fgd-1 ${className}`}
2021-04-18 03:34:37 -07:00
>
{children}
</div>
2021-04-09 07:27:49 -07:00
)