mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-15 17:21:35 +10:00
fix: extra whitespace in Castform header
Using the Castform template without a summary, still has extra whitespace for the summary. This commit fixes the extra whitespace to not appear when no summary is present.
This commit is contained in:
@ -96,8 +96,12 @@ export const MastheadMain: React.FC = () => {
|
|||||||
const { summary } = useAppSelector((state) => state.resume.present.basics);
|
const { summary } = useAppSelector((state) => state.resume.present.basics);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="px-4 pt-4">
|
<>
|
||||||
<Markdown>{summary}</Markdown>
|
{summary && (
|
||||||
</div>
|
<div className="px-4 pt-4">
|
||||||
|
<Markdown>{summary}</Markdown>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
</>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user