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
Cover block: Allow setting the height from the placeholder state. #35068
Commits on Oct 10, 2021
-
Configuration menu - View commit details
-
Copy full SHA for fe6ddd6 - Browse repository at this point
Copy the full SHA fe6ddd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3cce6c - Browse repository at this point
Copy the full SHA d3cce6cView commit details -
Ensure that the resizeable placeholder has a consistent background co…
…lor (white) and border.
Configuration menu - View commit details
-
Copy full SHA for 6e18643 - Browse repository at this point
Copy the full SHA 6e18643View commit details -
Experiment to add vertical classes to the placeholder and use it to d…
…etermine the min-height of the resizeable placeholder.
Configuration menu - View commit details
-
Copy full SHA for 137e17c - Browse repository at this point
Copy the full SHA 137e17cView commit details -
limit the resize behaviour to
is-large
placeholdersReverting changes to the Placeholder `useResizeObserver` since it was a test. limit the resize behaviour to `is-large` placeholders
Configuration menu - View commit details
-
Copy full SHA for d24a05a - Browse repository at this point
Copy the full SHA d24a05aView commit details -
Ensure the placeholder takes up the maximium available width set by t…
…he containing block
Configuration menu - View commit details
-
Copy full SHA for fb0ec6e - Browse repository at this point
Copy the full SHA fb0ec6eView commit details -
We need to reshuffle the order of the elements to ensure that:
- a user can interact with the placeholder controls - we can target the resizer as a sibling of `.components-placeholder.is-large` Also cleaning up the CSS and removing unused styles.
Configuration menu - View commit details
-
Copy full SHA for fb8998b - Browse repository at this point
Copy the full SHA fb8998bView commit details -
Configuration menu - View commit details
-
Copy full SHA for eb6cfe3 - Browse repository at this point
Copy the full SHA eb6cfe3View commit details -
Because we removed
minHeight={ COVER_MIN_HEIGHT }
on the resizeable…… container so that our changes in editor.scss take precedence, we have to reinstate the COVER_MIN_HEIGHT of 50px now via css
Configuration menu - View commit details
-
Copy full SHA for ec445b7 - Browse repository at this point
Copy the full SHA ec445b7View commit details