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

Label for Background Type breaks into two lines in Background Options panel #50

Closed
stirrell opened this issue May 11, 2018 · 1 comment
Labels
bugfix Something isn't working

Comments

@stirrell
Copy link

The label for the Background Type dropdown looks a little strange because it breaks after the first word. The reason for this is that a label can only take up 75% of the width of the panel row and, in this case, it only goes as wide as the select. I think in this case, it would probably be safe to bump the max width up for this label:

.wds-background-options {
	.components-panel__row label {
		max-width: 95%;
	}
}

Expected behavior

The label should not break after the first word but instead display on a single line.

Actual behavior

The label is broken into two lines.

Steps to reproduce error

On the Hero Block, go to the Background Options panel.

Screenshots of error

image

Please include any relevant parts of your configuration

  • Chrome 66
  • WDS-Blocks 1.0.3 and Gutenberg 2.8.0.
@jomurgel
Copy link
Contributor

This issue appears to have been resolved with #52.

screenshot 2018-05-30 18 26 14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants