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

Image mobile optimization for cs107e website #32

Open
Jackal-Studios opened this issue Jan 26, 2025 · 0 comments
Open

Image mobile optimization for cs107e website #32

Jackal-Studios opened this issue Jan 26, 2025 · 0 comments

Comments

@Jackal-Studios
Copy link

Jackal-Studios commented Jan 26, 2025

Images posted on the website are tiny on mobile devices, please refer to the screenshot below:

Here is the link to this page:
https://cs107e.github.io/assignments/assign2/extension/

potential solutions:

Targeting image blocks of this kind:

 ![5-way unsoldered](../images/rotary_wheel.jpg){: .w-25 .zoom}

cheap and dirty:

change image styling class from .w-25 to .h-25 and remove .zoom
(looks a bit different than original styling)

reasonable solution:

write in your own style sheet.css a class that has adaptive sizing for phones using something like:

@media screen and (max-aspect-ratio: 4/4) {
}
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

1 participant