diff --git a/src/components/UserProfile/UserProfile.css b/src/components/UserProfile/UserProfile.css index e2c033d..0f0d8ad 100644 --- a/src/components/UserProfile/UserProfile.css +++ b/src/components/UserProfile/UserProfile.css @@ -538,10 +538,18 @@ height: 100%; overflow: visible; /* Changed from hidden to allow content to determine height */ } +.activity-card { + overflow: hidden; +} + .card-content { overflow: auto; } +.profile-card p { + line-height: 1em; +} + /* Responsive Adjustments for Cards */ @media (max-width: 835px) { diff --git a/src/components/UserProfile/components/AltTextCard.css b/src/components/UserProfile/components/AltTextCard.css index 43547ff..61c9358 100644 --- a/src/components/UserProfile/components/AltTextCard.css +++ b/src/components/UserProfile/components/AltTextCard.css @@ -6,6 +6,7 @@ align-content: center; justify-content: center; gap: 20px; + overflow: hidden; } .alt-text-card h2 {