diff --git a/src/components/Header/Header.module.scss b/src/components/Header/Header.module.scss index cbdf833..7996e52 100644 --- a/src/components/Header/Header.module.scss +++ b/src/components/Header/Header.module.scss @@ -224,11 +224,13 @@ justify-content: center; z-index: 113; /* Desktop sets gap: 74px which pushes children past the viewport - on phones. Reset for mobile and clip any residual overflow. */ + on phones. Reset for mobile. Don't add overflow-x: hidden here — it + forces overflow-y to auto, turning the fixed header into a scroll + container that clips the user-profile dropdown (which opens below it). + The root already clips residual horizontal overflow. */ gap: 0; max-width: 100vw; max-width: 100dvw; - overflow-x: hidden; .actions { display: block; diff --git a/src/components/UserProfile/UserProfile.module.scss b/src/components/UserProfile/UserProfile.module.scss index 18e6e9c..050eb7c 100644 --- a/src/components/UserProfile/UserProfile.module.scss +++ b/src/components/UserProfile/UserProfile.module.scss @@ -26,7 +26,7 @@ .dropdown { position: absolute; top: calc(100% + 8px); - right: 24px; + right: 0; min-width: 180px; background-image: url('/keepsimple_/assets/user-dropdown/white-bg.png'); background-size: cover; @@ -36,6 +36,10 @@ z-index: 200; display: flex; flex-direction: column; + // The home hero