Skip to content

[GOOD FIRST ISSUE]: UI Alignment Issue in Navigation Bar #23

@Rav1Chauhan

Description

@Rav1Chauhan

Context

UI Alignment Issue in Navigation Bar

Description

There is a visual alignment issue in the navigation bar on the homepage.

The navigation container (light background strip containing "Explore", "Create", "Dashboard") appears slightly misaligned relative to the header layout. Spacing between the logo, navigation items, theme toggle, network selector, and wallet address also feels inconsistent.

📸 Screenshot

Image

Environment

  • OS: Windows 11
  • Browser: Chrome (latest)
  • Screen Resolution: 1920x1080
  • Running locally (localhost:3000)

Steps to Reproduce

  1. Start the dev server
  2. Open the homepage
  3. Observe the navigation bar alignment
  4. Compare spacing between logo, nav items, and wallet section

Current Behavior

  • Navigation container appears slightly off-centered
  • Theme toggle overlaps visually with nav container
  • Spacing between elements is inconsistent

Expected Behavior

  • Navigation container should be centered and aligned consistently
  • Proper spacing between logo, nav items, theme toggle, network selector, and wallet address
  • Responsive alignment across screen sizes

Additional Notes

This appears to be a layout/flexbox or container width issue in the header component.

What Needs to Be Done

Task: Fix Navigation Bar UI Alignment Issue

The navigation bar layout on the homepage has alignment and spacing inconsistencies that affect visual balance and responsiveness.

Problem Statement

The header section containing:

Project logo ("Djed Protocol")

Navigation links (Explore, Create, Dashboard)

Theme toggle button

Network selector

Wallet address button

is not properly aligned. The navigation container appears slightly off-centered, and spacing between elements is inconsistent. The layout does not look visually balanced across standard desktop screen sizes.

Expected Outcome

Navigation bar should be horizontally centered and visually balanced.

Consistent spacing between:

Logo

Navigation links

Theme toggle

Network selector

Wallet button

Proper flexbox alignment using justify-between and items-center.

Responsive behavior should remain intact.

No element overlap or misaligned background containers.

🛠 Scope of Fix

Review header container width (max-w-*)

Ensure consistent padding (px-*)

Align elements using proper flexbox structure

Remove any absolute positioning causing offset

Maintain responsiveness across breakpoints

Resources

Getting Started

  • I have joined the Discord server and will post updates there
  • I have read the Contribution Guide
  • I understand this issue is assigned on a first-come, first-served basis

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions