attempt to fix leafish template issues

This commit is contained in:
Amruth Pillai
2023-07-27 20:08:47 +02:00
parent 7465a7ec78
commit f937a88b9d
4 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,5 @@
.container {
@apply grid grid-cols-2 gap-4 px-6 py-4 items-start;
@apply grid grid-cols-2 gap-4 mx-6 my-4 items-start;
.main {
@apply grid gap-4;

View File

@ -1,5 +1,5 @@
import { ThemeConfig } from 'schema';
import get from 'lodash/get';
import { ThemeConfig } from 'schema';
import { useAppSelector } from '@/store/hooks';
@ -7,12 +7,12 @@ const Heading: React.FC<React.PropsWithChildren<unknown>> = ({ children }) => {
const theme: ThemeConfig = useAppSelector((state) => get(state.resume.present, 'metadata.theme', {} as ThemeConfig));
return (
<h2
className="mb-2 pb-1 font-bold uppercase opacity-75"
style={{ borderBottomWidth: '3px', borderColor: theme.primary, color: theme.primary, display: 'inline-block' }}
<h3
className="mb-2 inline-block border-b-2 pb-1 font-bold uppercase opacity-75"
style={{ borderColor: theme.primary, color: theme.primary, display: 'inline-block' }}
>
{children}
</h2>
</h3>
);
};

View File

@ -1,8 +1,8 @@
import { Cake, Email, Phone, Public, Room } from '@mui/icons-material';
import { alpha } from '@mui/material';
import { ThemeConfig } from 'schema';
import get from 'lodash/get';
import isEmpty from 'lodash/isEmpty';
import { ThemeConfig } from 'schema';
import Markdown from '@/components/shared/Markdown';
import { useAppSelector } from '@/store/hooks';

View File

@ -1,9 +1,9 @@
import { Email, Link, Phone } from '@mui/icons-material';
import { ListItem, Section as SectionType } from 'schema';
import get from 'lodash/get';
import isArray from 'lodash/isArray';
import isEmpty from 'lodash/isEmpty';
import { useMemo } from 'react';
import { ListItem, Section as SectionType } from 'schema';
import Markdown from '@/components/shared/Markdown';
import { useAppSelector } from '@/store/hooks';