Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extra white space rendered when selected dropdown label is blank #3075

Closed
rynpsc opened this issue Jul 6, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@rynpsc
Copy link

commented Jul 6, 2018

Description

When you have a Dropdown / Select field where one of the options has a blank label, selecting the blank option results in extra whitespace being rendered below it causing all content below to jump.

Looks to be caused by the white-space property. Removing it fixes it, with no obvious side effects.

Reproducible in Chrome 67 and Safari.

Steps to reproduce

  1. Create a new dropdown field where at least on option has a blank label and at least one that has a non blank label
  2. Create any other field
  3. Add both fields to a section with the dropdown positioned before the second field
  4. Go to the entry edit page and select the non blank and blank option in turn.

Additional info

  • Craft version: Craft Solo 3.0.14
  • PHP version: 7.2.4
  • Database driver & version: MySQL 5.7.21
@brandonkelly

This comment has been minimized.

Copy link
Member

commented Jul 8, 2018

Well that’s a weird one! Thanks for reporting and looking into it. Fixed for the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.