From 498bfbd74e642f775a0fe1ca51429e7344a42a9b Mon Sep 17 00:00:00 2001 From: Celina Date: Fri, 12 Jul 2024 09:57:22 -0700 Subject: [PATCH] update button text size, refactor card header --- app/components/Buttons/Buttons.tsx | 93 ++++++++++++------------ app/components/StyledCard/StyledCard.tsx | 2 +- app/globals.css | 12 ++- 3 files changed, 60 insertions(+), 47 deletions(-) diff --git a/app/components/Buttons/Buttons.tsx b/app/components/Buttons/Buttons.tsx index 3a2bfe8..7541335 100644 --- a/app/components/Buttons/Buttons.tsx +++ b/app/components/Buttons/Buttons.tsx @@ -1,47 +1,50 @@ -import { Project } from "@/types/Project" -import { Button } from "@mui/material" +import { Project } from "@/types/Project"; +import { Button } from "@mui/material"; export const getButtons = (project: Project) => { - { - return project.name != "Amanda Lynn Photography" ? ( - <> - - - - ) : ( - - ) - } -} \ No newline at end of file + { + return project.name != "Amanda Lynn Photography" ? ( + <> + + + + ) : ( + + ); + } +}; diff --git a/app/components/StyledCard/StyledCard.tsx b/app/components/StyledCard/StyledCard.tsx index 5e3dfe9..5cac13d 100644 --- a/app/components/StyledCard/StyledCard.tsx +++ b/app/components/StyledCard/StyledCard.tsx @@ -33,7 +33,7 @@ export default function StyledCard({ > - + {contentHeader} diff --git a/app/globals.css b/app/globals.css index 38f73dc..2fb8792 100644 --- a/app/globals.css +++ b/app/globals.css @@ -107,6 +107,16 @@ a:hover { color: #fff; } +/* Hide scrollbar for Chrome, Safari and Opera */ +*::-webkit-scrollbar { + display: none; +} + +/* Hide scrollbar for IE, Edge and Firefox */ +* { + -ms-overflow-style: none; /* IE and Edge */ + scrollbar-width: none; /* Firefox */ +} .outer { padding-left: 55%; @@ -144,7 +154,7 @@ a:hover { /* Tablet and Smaller Desktop */ @media (max-width: 900px) { .outer{ - padding: 10% 10%; + padding: 20% 10%; } .asideContainer {