Skip to content

fix: improve blog thumbnail rendering consistency#2010

Merged
realshuting merged 3 commits into
kyverno:mainfrom
Suhani95:fix-blog-thumbnail
May 20, 2026
Merged

fix: improve blog thumbnail rendering consistency#2010
realshuting merged 3 commits into
kyverno:mainfrom
Suhani95:fix-blog-thumbnail

Conversation

@Suhani95
Copy link
Copy Markdown
Contributor

Related issue

fixes #2009

Improved blog thumbnail rendering consistency on the main blog page.

Proposed Changes

  • Fix Aspect Ratio: Switched to object-contain to prevent image stretching and distortion.
  • Center Alignment: Implemented Flexbox centering to keep thumbnails perfectly aligned within cards.
  • UI Cleanup: Added container padding and a consistent background to prevent logos from touching edges.
  • Smooth Hover: Retained the scale-up transition for a polished user experience.

Blog thumbnails now appear more balanced and visually consistent across the blog grid.

Checklist

  • I have read the contributing guidelines.
  • I have inspected the website preview for accuracy.
  • I have signed off my issue.

Signed-off-by: Suhani <suhani4630@gmail.com>
@welcome
Copy link
Copy Markdown

welcome Bot commented May 11, 2026

Thanks for opening your first Pull Request here! Please check out our Contributing guidelines and confirm that you Signed off.

@github-actions github-actions Bot added the website-redesign Everything related to the new wesbite, whether it's content / design / tech bugs. label May 20, 2026
@realshuting realshuting enabled auto-merge (squash) May 20, 2026 07:26
@realshuting realshuting merged commit 927eb98 into kyverno:main May 20, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

website-redesign Everything related to the new wesbite, whether it's content / design / tech bugs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[UI] Fix aspect ratio distortion in Blog post thumbnails

2 participants