sampadatiwari30/DeshDarshan

Fix unwanted space between navbar and main image due to positioning

Open

#554 opened on Aug 15, 2025

View on GitHub
 (0 comments) (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

UNDER GSSOC2025 Description: There is an extra space appearing between the navbar and the main image. This seems to be caused by the current CSS positioning rules. The gap affects the visual flow of the page and should be removed so the main image aligns directly under the navbar.

Steps to Reproduce: Open the homepage. Observe the space between the navbar and the main image.

Expected Behavior: The main image should start immediately below the navbar without any unintended gap.

Possible Cause: Margin or padding applied to the navbar or image container. Absolute/relative positioning pushing the image down.

Contributor guide