Skip to content

Fix mobile CSS selector to use mona-images#10

Open
ni0520 wants to merge 1 commit intomainfrom
codex/update-june-images-to-mona-images
Open

Fix mobile CSS selector to use mona-images#10
ni0520 wants to merge 1 commit intomainfrom
codex/update-june-images-to-mona-images

Conversation

@ni0520
Copy link
Owner

@ni0520 ni0520 commented Feb 16, 2026

Motivation

  • The mobile media-query used the old .june-images selector while the template uses mona-images, causing inconsistent mobile styling; this change unifies the class name so styles apply correctly.

Description

  • Replaced .june-images with .mona-images inside the @media only screen and (max-width: 600px) block in public/css/main.css.
  • Verified views/index.ejs already uses class="mona-images", so markup and CSS are now consistent.
  • Searched the codebase for remaining june occurrences related to image class naming and confirmed there are no other remnants.

Testing

  • Ran rg -n "june|mona-images" to confirm the replacement and ensure no remaining june selectors, which succeeded.
  • Started the app with node index.js to serve the site and confirmed the server started successfully.
  • Executed a Playwright script to capture screenshots at 1280x900 (desktop) and 390x844 (mobile) and verified image sizing behaves as expected in both viewports.

Codex Task

@netlify
Copy link

netlify bot commented Feb 16, 2026

Deploy Preview for myapp-52980b ready!

Name Link
🔨 Latest commit 2cbc2cc
🔍 Latest deploy log https://app.netlify.com/projects/myapp-52980b/deploys/6993a62a6340d20008f415f6
😎 Deploy Preview https://deploy-preview-10--myapp-52980b.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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