sampadatiwari30/DeshDarshan

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

Open

#746 ouverte le 9 sept. 2025

Voir sur GitHub
 (1 commentaire) (0 réactions) (1 assigné)HTML (157 forks)auto 404
buggood first issuegssoc 25

Métriques du dépôt

Stars
 (33 stars)
Métriques de merge PR
 (Métriques PR en attente)

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

Guide contributeur