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

Declare theme support for responsive embeds #1688

Closed
benlk opened this issue Apr 24, 2019 · 0 comments · Fixed by #1689
Closed

Declare theme support for responsive embeds #1688

benlk opened this issue Apr 24, 2019 · 0 comments · Fixed by #1689
Labels
category: gutenberg Relating to general Gutenberg compatibility category: styles affects lots of styles, requiring visual testing type: bug
Milestone

Comments

@benlk
Copy link
Collaborator

benlk commented Apr 24, 2019

add_theme_support( 'responsive-embeds' );

https://wordpress.org/gutenberg/handbook/designers-developers/developers/themes/theme-support/#responsive-embedded-content

This should solve the problem where videos in "alignwide" and "alignfull" blocks do not stretch the full width of their containers.

Screen Shot 2019-04-24 at 10 46 42

@benlk benlk added type: bug category: styles affects lots of styles, requiring visual testing category: gutenberg Relating to general Gutenberg compatibility labels Apr 24, 2019
@benlk benlk added this to the 0.6.2 milestone Apr 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: gutenberg Relating to general Gutenberg compatibility category: styles affects lots of styles, requiring visual testing type: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant