Skip to content

fix: align mobile job form fields (backport #3206) - #3315

Merged
raizasafeel merged 1 commit into
version-15-hotfixfrom
mergify/bp/version-15-hotfix/pr-3206
Nov 16, 2026
Merged

raizasafeel merged 1 commit into
version-15-hotfixfrom
mergify/bp/version-15-hotfix/pr-3206

Conversation

@mergify

@mergify mergify Bot commented Nov 16, 2026

Copy link
Copy Markdown

At 375px, the job form sidebar stacks below the main fields but keeps an extra 20px of horizontal padding. Status, Location, and Company fields start at x=40 and are 295px wide. Main fields start at x=20 and are 335px wide.

Replace p-5 with py-5 lg:p-5 in the three sidebar sections. All mobile sections now share the 20px inset. Desktop padding stays at 20px. The change is limited to three lines in one file.

Reproduction

  1. Open an existing job at /lms/job-opening/<job>/edit.
  2. Set the viewport to 375 × 812 in light mode.
  3. Scroll from Description to Status and Location.
  4. Compare the field edges with the Description editor.

Validation

  • Browser measurements at 375 × 812: all three sidebar sections start at x=20 and are 335px wide.
  • City and Company fields match the main field width and left edge.
  • Desktop check at 1440 × 1000: each sidebar section keeps 20px of padding.
  • Prettier 2.7.1 and git diff --check passed.
  • The full yarn build stalled and was stopped. Screenshots use the existing local compiled job-form asset with the same class replacements and locally generated Tailwind utilities.
  • The local pre-commit hook could not run because node_modules/pre-commit/hook is missing. Formatting was checked separately.
  • Pink guides are temporary screenshot annotations. They are not part of the application.

1. Reported issue

Reported mobile job form spacing issue

2. Reproduced issue

Reproduced mobile job form with extra sidebar padding

3. Fixed version

Fixed mobile job form with aligned fields

4. Fixed version with temporary pink reference guidelines

Fixed mobile job form with pink alignment guides


This is an automatic backport of pull request #3206 done by [Mergify](https://mergify.com).

(cherry picked from commit 95b0eb8)
@raizasafeel
raizasafeel merged commit f840373 into version-15-hotfix Nov 16, 2026
8 checks passed
@raizasafeel
raizasafeel deleted the mergify/bp/version-15-hotfix/pr-3206 branch November 16, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants