Skip to content

Commit

Permalink
✨ Enhance styling with custom scrollbar and adjust layout properties …
Browse files Browse the repository at this point in the history
…for improved user experience
  • Loading branch information
ImJustLucas committed Oct 30, 2024
1 parent 3805cc4 commit c71a559
Show file tree
Hide file tree
Showing 4 changed files with 2,644 additions and 2,013 deletions.
4 changes: 2 additions & 2 deletions app/ClientLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ interface ClientLayoutProps {
export default function ClientLayout({ children }: ClientLayoutProps) {
const { isOpen } = useMobileMenu();
return (
<div className="p-3 bg-background w-screen h-screen flex relative gap-3 select-none ">
<div className="p-3 bg-background w-screen h-dvh flex relative gap-3 select-none ">
<Sidebar />
<div
className={`bg-primary-foreground w-full h-full rounded-lg p-4 overflow-y-scroll ${
className={`bg-primary-foreground w-full h-full rounded-lg p-4 pb-8 overflow-y-scroll ${
isOpen ? "blur-sm" : ""
}`}
>
Expand Down
2 changes: 1 addition & 1 deletion components/projects/ProjectCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const ProjectCard: React.FC<ProjectType> = ({ project }) => {
</div>
</CardContent>

<CardFooter className="flex justify-between flex-none bg-card/80 backdrop-blur-sm relative z-10">
<CardFooter className="flex justify-between flex-none bg-card/80 backdrop-blur-sm relative z-[5]">
{project.openSource && (
<LinkButton
href={project.links.github || "https://github.com/imjustlucas"}
Expand Down
Loading

0 comments on commit c71a559

Please sign in to comment.