Skip to content

Commit

Permalink
fixed page height
Browse files Browse the repository at this point in the history
  • Loading branch information
Nickolausen committed Dec 28, 2024
1 parent d3ccca1 commit 01b0cae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/LayoutComponents/DefaultLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ type Props = {
export default function DefaultLayout({ children }: Props) {
return <>
<Navbar/>
<div className='h-full px-10 lg:px-[10rem] 2xl:px-[25rem] md:pt-10 lg:pt-0'>
<div className='h-[100dhv] px-10 lg:px-[10rem] 2xl:px-[25rem] md:pt-10 lg:pt-0'>
{ children }
</div>
<Footer/>
Expand Down
2 changes: 1 addition & 1 deletion src/components/LayoutComponents/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
function Footer()
{
return <>
<footer className={"mt-20 flex flex-col justify-center content-center p-20 text-center text-primary bg-[--nav-bg]"}>
<footer className="mt-20 flex flex-col justify-center content-center p-20 text-center text-primary bg-[--nav-bg]">
<span>Handmade with <i className='fa fa-heart text-[--accent-color]'></i> by <a className='text-[--accent-color]' href='https://github.com/Nickolausen'>Nicholas Magi</a></span>
<span className="text-secondary text-xs pt-2">Last update deployed on: { document.lastModified }</span>
</footer>
Expand Down

0 comments on commit 01b0cae

Please sign in to comment.