Bug: Misalignment of Heritage Images on the "Desh Darshan" Website
#746 opened on Sep 9, 2025
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
- Steps to reproduce the behavior:
- Go to https://sampadatiwari30.github.io/DeshDarshan/
- Scroll down to the "Heritage" section
- 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