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

Show Height control in Cover if we only selected an image #17371

Merged
merged 3 commits into from
Sep 26, 2019

Conversation

senadir
Copy link
Contributor

@senadir senadir commented Sep 8, 2019

Description

fixes #17258

This PR takes the height control and put it in its own panel, it didn't make much sense to keep it with the media settings since it has nothing to do with media, since we can control the size with only the color, so a new panel "Dimensions" is here

How has this been tested?

  • create a cover
  • set a color only
  • see the Dimensions panel in the sidebar

Screenshots

image

@senadir senadir added [Type] Bug An existing feature does not function as intended [Block] Cover Affects the Cover Block - used to display content laid over a background image labels Sep 8, 2019
@senadir
Copy link
Contributor Author

senadir commented Sep 16, 2019

it seems this PR get staled and need a rebase

@senadir senadir force-pushed the fix/cover-show-height-control-with-image branch from 1f0c5fd to c31c5f5 Compare September 17, 2019 09:30
@senadir
Copy link
Contributor Author

senadir commented Sep 17, 2019

@youknowriad this has been rebased and is ready to review & merge

Copy link
Contributor

@epiqueras epiqueras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

I did notice a related issue you might want to look at: #17582.

@senadir senadir merged commit 5e854c2 into master Sep 26, 2019
@senadir senadir deleted the fix/cover-show-height-control-with-image branch September 26, 2019 08:45
@youknowriad youknowriad added this to the Gutenberg 6.6 milestone Sep 30, 2019
youknowriad pushed a commit that referenced this pull request Sep 30, 2019
* refactor-size-control-to-its-panel

* rename Size to Dimensions
youknowriad pushed a commit that referenced this pull request Sep 30, 2019
* refactor-size-control-to-its-panel

* rename Size to Dimensions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Cover Affects the Cover Block - used to display content laid over a background image [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cover Block: add "Height in pixels" to solid color
3 participants