Skip to content

Commit

Permalink
Fixed scaling on home page and NavBar
Browse files Browse the repository at this point in the history
  • Loading branch information
rishit-singh committed Jan 15, 2024
1 parent ae65fd6 commit 3e1d609
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion frontend/src/app/HomePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export default function HomePage({} : HomePageProps)
</div>
</div>

<div className={"flex flex-row ml-[10%] gap-3 max-[600px]:mx-0 max-[600px]:justify-center"}>
<div className={"flex flex-row ml-[10%] gap-3 mb-5 max-[600px]:mx-0 max-[600px]:justify-center"}>
<SocialIcons/>
</div>
</div>
Expand Down
6 changes: 2 additions & 4 deletions frontend/src/app/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,8 @@ export default function NavBar({ Pages } : NavBarProps)

return (
<div className="flex flex-row max-[600px]:grid max-[600px]:grid-rows-2 row-start-1 row-span-1 max-[600px]:justify-center">
<div className="min-[600px]:basis-1/4 max-[600px]:row-start-1 flex flex-row shrink-0 grow-0 max-[600px]:justify-center ">
<div></div>
<img src="LCS.png" alt="club-logo" className="ml-5 flex-start-2 max-[600px]:ml-8 shrink-0 grow-0 h-full select-none"/>
<div></div>
<div className="min-[600px]:basis-1/4 max-[600px]:row-start-1 flex flex-row shrink-0 grow-0 max-[600px]:justify-center flex items-center">
<img src="LCS.png" alt="club-logo" className="ml-5 flex-start-2 max-[600px]:ml-0 shrink-0 grow-0 h-full select-none"/>
</div>
<div className="min-[600px]:basis-3/4 max-[600px]:grid max-[600px]:grid-template-cols[5%_90%_5%] min-[600px]:flex min-[600px]:justify-end min-[600px]:mr-8 h-full">
<div></div>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/SocialIcons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function SocialIcons({} : SocialIconsProps): JSX.Element
];

return (<>{Socials.map((name, index) => {
return <SocialIcon key={index} url={name} fgColor={"black"} bgColor={"#F15A22"}/>;
return <SocialIcon key={index} url={name} fgColor={"black"} bgColor={"#F15A22"} style={{height: 40, width: 40}}/>;
})}</>);
}

0 comments on commit 3e1d609

Please sign in to comment.