Skip to content

Fix vertical alignment of form labels on mobile screens #727

@siddhantsinghbussiness-afk

Description

On screen widths below 480px, the form labels in the recommendation form sit
too close to the input field below them. There is not enough visual separation
between the label text and the input border, making the form feel cramped.

Expected Outcome:
On all mobile screen sizes (tested at 375px and 414px), each label has at
least 8px of space below it before the input begins. The change should only
affect the mobile breakpoint and leave desktop spacing unchanged.

Files to look at:

  • static/style.css — search for the @media (max-width: 640px) block
  • templates/index.html — the .form-group elements

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions