From 8bdbc0f0264e852a8b5c223acbc04c0f85f04901 Mon Sep 17 00:00:00 2001 From: b38peng Date: Tue, 31 Aug 2021 20:16:13 -0300 Subject: [PATCH] bug fix --- components/TeamMemberCard.module.css | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/components/TeamMemberCard.module.css b/components/TeamMemberCard.module.css index 68b0aff8..95c64832 100644 --- a/components/TeamMemberCard.module.css +++ b/components/TeamMemberCard.module.css @@ -88,9 +88,12 @@ display: flex; z-index: 12; flex-direction: column; + max-width: calc(768rem / 16); + height: 75vh; + box-sizing: border-box; + overflow: auto; background-color: var(--secondary-background); padding: calc(20rem / 16) calc(40rem / 16); - left: 0; top: 50%; animation: popup 0.7s forwards; } @@ -98,7 +101,6 @@ .closeBtn { align-self: flex-end; /* reset default button styling */ - width: min-content; background: transparent; border: 0px solid transparent; padding: 0; @@ -158,4 +160,8 @@ .description { display: none; } + + .popupContainer { + left: 0; + } }