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

Improve extension-details page on mobile #392

Open
holly-cummins opened this issue Oct 12, 2023 · 2 comments
Open

Improve extension-details page on mobile #392

holly-cummins opened this issue Oct 12, 2023 · 2 comments

Comments

@holly-cummins
Copy link
Collaborator

... but we can make it work with 2 css changes on a media call.

Now:

image

Proposed:

image

@insectengine
Copy link
Contributor

In this class, add a media call to switch from row to column to make the two rows stack:

.jGsGyi { @media screen and (max-width: 768px) { flex-direction: column; } }

The left column will now be on top, but it's narrow and we want to make it full width so you'll need another media call:

.jXTyRz { @media screen and (max-width: 768px) { width:100% } }

While we're at it... on the smaller size, let's remove the padding on the left side of the original right column and add a litt:

.kUuyMP { @media screen and (max-width: 768px) { padding-left: 0px; padding-top: 2rem;} }

@holly-cummins
Copy link
Collaborator Author

holly-cummins commented Oct 18, 2023

The contributor graphs have a hardcoded width (because I ran out of energy), so also very much need a @media query to make them render sensibly on small screens.

We should also use a smaller font on pie labels on small screens, or they'll never fit.

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