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

Mobile-friendly competiiton pages #47

Merged
merged 5 commits into from
Apr 7, 2024

Conversation

PeterJCLaw
Copy link
Member

@PeterJCLaw PeterJCLaw commented Nov 14, 2023

Various changes to enable use of these pages on smaller screens. Suggest review by commit.

Nav adjusts a bit like the docs sidebar does:
image

Team/match choosers get dynamic wrapping:
Screen Shot 2024-03-28 at 18 16 44
Screen Shot 2024-03-28 at 18 17 26

Youtube embed on the homepage is responsive:
Screen Shot 2024-03-28 at 18 18 58

The rest of the homepage is left as-is. While we probably could do more with the various bits, that's likely to need deeper surgery than I have time for right now.

Builds on #52 for ease.

This visually rearranges it to be a bit like the docs nav on mobile,
which changes from a sidebar to a collapsed stack at the top of the
document.
@PeterJCLaw PeterJCLaw changed the base branch from main to bundler-2 March 28, 2024 17:40
This also generalises and improves how these are positioned and
the margins assigned to them.
@PeterJCLaw PeterJCLaw marked this pull request as ready for review March 28, 2024 18:19
@raccube raccube deleted the branch srobo:main March 28, 2024 20:45
@raccube raccube closed this Mar 28, 2024
@raccube
Copy link
Member

raccube commented Mar 28, 2024

Oops, didn't meant to close this.

@PeterJCLaw PeterJCLaw reopened this Mar 28, 2024
@PeterJCLaw PeterJCLaw changed the base branch from bundler-2 to main March 28, 2024 22:05
@PeterJCLaw
Copy link
Member Author

The rest of the homepage is left as-is. While we probably could do more with the various bits, that's likely to need deeper surgery than I have time for right now.

I've had a quick go at this. I think there's still a lot more which could be done (mostly by reworking to use e.g: flexbox rather than floats & absolute position munging), but that's definitely more than I have time for.

Copy link
Member

@raccube raccube left a comment

Choose a reason for hiding this comment

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

image
image

@PeterJCLaw PeterJCLaw merged commit 33bb6d3 into srobo:main Apr 7, 2024
2 checks passed
@PeterJCLaw PeterJCLaw deleted the better-mobile-support branch April 7, 2024 17:10
@PeterJCLaw PeterJCLaw linked an issue May 31, 2024 that may be closed by this pull request
@PeterJCLaw PeterJCLaw mentioned this pull request May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix sizing on mobile
2 participants