From e5bb67c300102dca485941381fc541b67960c9ea Mon Sep 17 00:00:00 2001 From: Kevin Wu Date: Sun, 31 Mar 2024 12:28:30 -0700 Subject: [PATCH] style: reshow tape (#80) --- .../Designathon24/components/Polaroid/Polaroid.jsx | 2 +- .../Designathon24/components/Polaroid/Polaroid.module.scss | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/pages/Designathons/Designathon24/components/Polaroid/Polaroid.jsx b/src/app/pages/Designathons/Designathon24/components/Polaroid/Polaroid.jsx index 25893342..aa83337e 100644 --- a/src/app/pages/Designathons/Designathon24/components/Polaroid/Polaroid.jsx +++ b/src/app/pages/Designathons/Designathon24/components/Polaroid/Polaroid.jsx @@ -7,7 +7,7 @@ import { Modal } from "../Speakers/Modal/Modal"; import tape_black from "../../assets/graphics/speakers/tape_black.svg"; import tape_white from "../../assets/graphics/speakers/tape_white.svg"; -export const Profile = ({ person, odd, tape: showTape }) => { +export const Profile = ({ person, odd, showTape }) => { const { photo, name, role } = person; return ( diff --git a/src/app/pages/Designathons/Designathon24/components/Polaroid/Polaroid.module.scss b/src/app/pages/Designathons/Designathon24/components/Polaroid/Polaroid.module.scss index 60f3f03a..a3e2e909 100644 --- a/src/app/pages/Designathons/Designathon24/components/Polaroid/Polaroid.module.scss +++ b/src/app/pages/Designathons/Designathon24/components/Polaroid/Polaroid.module.scss @@ -13,6 +13,7 @@ flex-direction: column; justify-content: center; cursor: inherit; + position: relative; width: 100%; height: fit-content; @@ -74,10 +75,10 @@ } .tape { + position: absolute; width: 66%; z-index: 5; - // position: absolute; top: -5%; left: 50%; transform: translateX(-50%);