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

Problem descriptions show badly on mobile #6

Open
rodrigogiraoserrao opened this issue Sep 15, 2020 · 3 comments
Open

Problem descriptions show badly on mobile #6

rodrigogiraoserrao opened this issue Sep 15, 2020 · 3 comments

Comments

@rodrigogiraoserrao
Copy link
Contributor

Opening the website on mobile devices we see the problem descriptions get squashed horizontally, making them take too much vertical space.

To Reproduce
Open problems.tryapl.org on a mobile device.

Screenshots
Screenshot_2020-09-15-17-17-43-157_com android chrome

Smartphone

  • Device: MI 8
  • OS: Android 10;
  • Browser Chrome 85.0
    (And also on an iPhone 6, Safari)
@rikedyp
Copy link
Contributor

rikedyp commented Oct 27, 2020

While this has been improved in 6e43b73
It is a good idea in the future to refactor style.scss so that mobile settings are in the default, and desktop settings go in the media query. I believe this will aleviate some of the ugly hacking and !important stuff I've done

@rikedyp
Copy link
Contributor

rikedyp commented Oct 27, 2020

Certain specific problems e.g. 2019 P4 Knight Moves have been manually CSS'd into submission for desktop. A better scheme needs devising for these layouts on mobile

rikedyp added a commit that referenced this issue Dec 17, 2020
@rikedyp
Copy link
Contributor

rikedyp commented Dec 17, 2020

Not closing this just yet, but it should be much better now - in particular note that 2019.md has custom css inside with a @media query, switching between display:block and display:inline-flex for mobile and desktop respectively

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

No branches or pull requests

2 participants