Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix family-register page on mobile and desktop #6876

Closed
wants to merge 2 commits into from

Conversation

romdricks
Copy link
Contributor

@romdricks romdricks commented Feb 17, 2024

Description & Issue number it closes

Fix Form not showing properly on mobile and desktop. #6830
Fix Footer overlapping buttons (previous, next & register)

Type of change

  • Bug fix (non-breaking change which fixes an issue)

@DAcodedBEAT
Copy link
Contributor

@romdricks can you provide screenshots?

@@ -26,7 +26,7 @@
position: relative;
}
</style>
<div class="register-box" style="width: 75%;">
<div class="register-box" style="min-height: 100vh; width: 75%;">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I vaguely remember 100vh being problematic on mobile, does it work in this case? How was this tested, if you don't mind me asking?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it does work. I tested it on a staging site for these OS and browsers:
Desktop: Windows OS (Firefox, Chrome, Edge)
Mobile: Android OS & Apple OS (Chrome, Brave)

Copy link
Collaborator

@MrClever MrClever Feb 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As per discussion in the dev chat space (and on #6830), this appears to be a strange problem only affecting the self-registration pages which in turn use a completely different mix of CSS compared to the rest of the site. We can kludge a fix into the container as this PR proposes, but there's no guarantee we won't see this behaviour elsewhere (as we don't know the root cause). There seems to be some weird implied container dimensions creeping in from the combination of bootstrap, font awesome and our own CSS. I'm not a huge fan of band-aid solutions to fix a behaviour when the root cause is unknown.

My $0.02 worth.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay. I do understand. Your guidance in going forward is appreciated.

@DAcodedBEAT
Copy link
Contributor

@romdricks / @MrClever since this PR is stalled, should we close this out?

@MrClever
Copy link
Collaborator

Closing this PR as we investigate root cause CSS weirdness. We can re-open this if we run out of options 👍🏻

@MrClever MrClever closed this Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants