sampadatiwari30/DeshDarshan

Bug: Misalignment of Heritage Images on the "Desh Darshan" Website

Open

#746 opened on Sep 9, 2025

View on GitHub
 (1 comment) (0 reactions) (1 assignee)HTML (157 forks)auto 404
buggood first issuegssoc 25

Repository metrics

Stars
 (33 stars)
PR merge metrics
 (PR metrics pending)

Description

Describe the bug The images under the Heritage section on the homepage are not properly aligned. They appear staggered, especially on larger screens, which affects the visual consistency of the layout.

To Reproduce

  1. Steps to reproduce the behavior:
  2. Go to https://sampadatiwari30.github.io/DeshDarshan/
  3. Scroll down to the "Heritage" section
  4. Observe the misalignment of the monument cards (e.g., Charminar, Red Fort, Gateway of India)

Expected behavior The images should be evenly spaced and aligned in a grid layout (either flex or CSS grid) for a consistent UI/UX.

Screenshots

Possible Solution Ensure all image cards are within the same flex/grid container. Set a fixed height for the cards or ensure equal padding/margin. Use align-items: stretch or justify-content: space-around depending on layout method. Consider using CSS Grid for better responsiveness.

I would like to work on this issue. Can you please assign this to me

Contributor guide