Target branch field in pipeline schedules creation view has a non standard height if no branches are available

Summary

Identified in color audit, though unrelated to color specifically gitlab-design#287 (closed)

Target branch field in pipeline schedules creation view has a nonstandard height if there are no branches are available.

Steps to reproduce

  • Create an empty project
  • Without configuring anything go to create a new pipeline schedule
  • Now the branch input is empty and smaller than normal

Example Project

https://gitlab.com/dimitrieh/no-branches => https://gitlab.com/dimitrieh/no-branches/-/pipeline_schedules/new

What is the current bug behavior?

The branch input field decreases in vertical height, creating a UI bug.

What is the expected correct behavior?

The target branch input field should stay a normal height and state that no branch has been selected currently.

Relevant logs and/or screenshots

(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's tough to read otherwise.)

Screenshot
Screenshot

Output of checks

This bug happens on GitLab.com

Results of GitLab environment info

Expand for output related to GitLab environment info

(For installations with omnibus-gitlab package run and paste the output of:
`sudo gitlab-rake gitlab:env:info`)

(For installations from source run and paste the output of:
`sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)

Results of GitLab application Check

Expand for output related to the GitLab application check

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:check SANITIZE=true)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)

(we will only investigate if the tests are passing)

Possible fixes

Edited Jul 07, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading