Skip to content

Fix cropped images in blog listing - #147

Merged
adulau merged 1 commit into
newfrom
codex/fix-cut-images-in-blog-list
Sep 29, 2026
Merged

adulau merged 1 commit into
newfrom
codex/fix-cut-images-in-blog-list

Conversation

@adulau

@adulau adulau commented Sep 29, 2026

Copy link
Copy Markdown
Member

Motivation

  • The blog listing thumbnails were being clipped by the theme's fixed thumbnail height, causing banner images with different aspect ratios to appear cropped.

Description

  • Override the theme's thumbnail cap in static/css/custom.css by adding rules to the #blog-listing-medium .post .image container and its img to remove the height cap (max-height: none; overflow: visible;) and ensure images scale with height: auto, object-fit: contain, and width: 100% so each banner preserves its natural aspect ratio.

Testing

  • Ran git diff --check and a CSS structural assertion script to verify balanced braces and the presence of the new declarations, and attempted hugo --minify which failed because Hugo is not installed in the environment.

Codex Task

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-29T10:41:26.124272Z 30ce9f0 PR opened
🔒 Security Review ✅ Completed 2026-09-29T10:41:25.158884Z 30ce9f0 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@adulau
adulau merged commit fe82f0c into new Sep 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant