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

Maintain latest data insights image ratio #3829

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

rakyi
Copy link
Contributor

@rakyi rakyi commented Jul 31, 2024

Not all images used for data insights have the same aspect ratio, which I didn't know when I initially implemented it. Now the ratio should be preserved.

Before:
image

After:
image

@rakyi rakyi requested a review from ikesau July 31, 2024 10:11
@rakyi rakyi force-pushed the fix-latest-dis-img-aspect-ratio branch from 46b1f53 to 29cf655 Compare July 31, 2024 10:15
@owidbot
Copy link
Contributor

owidbot commented Jul 31, 2024

Quick links (staging server):

Site Admin Wizard

Login: ssh owid@staging-site-fix-latest-dis-img-aspect-ratio

SVG tester:

Number of differences (default views): 0 ✅
Number of differences (all views): 0 ✅

Edited: 2024-07-31 10:19:31 UTC
Execution time: 1.22 seconds

@rakyi rakyi force-pushed the fix-latest-dis-img-aspect-ratio branch from 29cf655 to acc4f31 Compare July 31, 2024 10:20
@rakyi rakyi merged commit 2b79d4b into master Jul 31, 2024
20 checks passed
@rakyi rakyi deleted the fix-latest-dis-img-aspect-ratio branch July 31, 2024 13:38
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.

3 participants