-
Notifications
You must be signed in to change notification settings - Fork 448
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
Limit the size of image #24
Conversation
I think you're really right and it's really hard to read |
Esp. for the tier images I agree (thought about that before, in #5), but do you know of a way to make the images in all tables the same size, preferably with the same value? EDIT: And also without crafting a custom |
It seems impossible. GitHub does not really respect Setting the width with other units won't help. Maybe making feedback to GitHub is the best choice. You may prove my statements by comparing two pages rendering https://github.com/Rongronggg9/github-profile-achievements/tree/4baec4417d8f4b992dccde2983a5b9e85da340f8 and https://github.com/Rongronggg9/github-profile-achievements/blob/4baec4417d8f4b992dccde2983a5b9e85da340f8/README.md |
Hrm, really unsatisfying currently.
which works to make them the same size, but then we'd have to adjust all values all time, meh. Maybe eventually I have to experiment with a custom For now I will only set width to the tier images, to match them to the size of the achievements when viewing https://github.com/Schweinepriester/github-profile-achievements (not the full width view), so approx 180px. I will use your PR to give you props. Thank you! :) |
Yeah, but that's at least less bad than it was, right? |
Pre: so huge, hard to read!
Post: fantastic
Note:
Why not
style="max-width: ***"
?It is unsupported by GitHub. But
style="width: ***"
behaves nearly the same as the former in GitHub-flavored Markdown.Why
8em
?It can be any reasonable value you like.
Why
style="width: 8em"
cannot unify the image size anywhere?Just mentioned, it behaves nearly the same as
style="max-width: 8em"
in GitHub-flavored Markdown.