Skip to content

🐛 [Bug]: Excessive top padding/margin causing wasted vertical space in Typing Speed Tester modal #705

@Shashank-8p

Description

@Shashank-8p
Image

📝 Description

There is a layout issue within the "Typing Speed Tester" modal. A significant amount of empty white space is rendering between the top edge of the modal window and the inner green content container (div housing the heading and game). This empty space pushes the actual interactive content unnecessarily far down the screen, forcing the user to scroll or interact with a cramped layout, and wasting valuable vertical real estate.

🔄 Steps to Reproduce

  1. Launch the "Typing Speed Tester" utility from the main grid to open the modal.
  2. Observe the vertical layout of the modal.
  3. Note the large, unutilized white area between the top-right close button (x) and the start of the green "Typing Speed Tester" container.
  4. See error: The interactive content is pushed down due to excessive padding or margin at the top of the modal wrapper.

🎯 Expected Behavior

The inner content container should sit closer to the top of the modal, with only a standard margin (e.g., 1rem or 2rem) separating it from the top edge. This ensures the title, controls, and typing text area are immediately visible and vertically centered within the viewport without unnecessary scrolling.

❌ Actual Behavior / Error Logs

The inner layout is pushed down by excessive top padding or margin, creating an imbalanced UI with wasted vertical space.

💻 Environment

  • OS: Windows 11
  • Browser: Chrome / Brave
  • File Name: Typing Speed Tester Modal / Layout Component

  • I am a registered GSSoC 2026 contributor.
  • I want to be assigned to fix this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions