Skip to content

Modal overlay not properly centered on screen" #2472

@ChayanDass

Description

@ChayanDass

Describe the bug

Modal overlay was not properly centered on the screen. The modal positioning was using fixed positioning with transform translate, which caused alignment issues.

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'Settings' page
  2. Click on 'Add Service' button (in Pinning Services section)
  3. See modal overlay not properly centered
  4. Or click on 'Generate Key' button (in IPNS section)
  5. Or go to 'Files' page and click on 'CLI Tutor Mode' button
  6. See error in modal positioning

Expected behavior

Modal should be properly centered on the screen with the overlay covering the entire viewport and the modal content centered both horizontally and vertically.

Screenshots

Image

Affected Modals:

  • Add Service modal (Settings → Pinning Services)
  • Generate Key modal (Settings → IPNS)
  • CLI Tutor Mode modal (Files page)

Desktop (please complete the following information):

  • OS: Linux
  • Browser: Chrome/Firefox
  • Version: Latest

Metadata

Metadata

Assignees

No one assigned

    Labels

    need/triageNeeds initial labeling and prioritization

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions