-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Can't vertical center amp-facebook inside amp-carousel #2661
Comments
@kul3r4 You should be able to center an embed by putting it inside of a |
Hi, You can find this experiment here: |
It's ok because you can still nest the div inside with flex layout. Right? |
Thanks Dima,
where the css classes are:
It is still somehow strange doing all of this while other video components, like amp-youtube or amp-video are centering automatically inside a carousel. |
@kul3r4 Yeah. Replaced content is a lot easier to center - CSS is taking a special care of those content types. |
Hey, The AMP community has been working nonstop to make AMP better, but somehow we've still managed to grow an enormous backlog of open issues. This has made it difficult for the community to prioritize what we should work on next. A new process is on the way and to give it a chance for success we will be closing issues that have not been updated in awhile. If this issue still requires further attention, simply reopen it. Please try to reproduce it with the latest version to ensure it gets proper attention! We really appreciate the contribution! Thank you for bearing with us as we drag ourselves out of the issue abyss. :) |
Short description of your issue:
Can't vertical center amp-facebook inside amp-carousel.
How do we reproduce the issue?
I created an example here:
http://js.do/code/88222
then I tried to apply a class to the component, like here:
http://js.do/code/88223
but any style for positioning gets overridden by the AMP framework when the iframe is generated.
What browsers are affected?
Only verified on Chrome
Which AMP version is affected?
Is this a new issue? Or was it always broken? Paste your AMP version. You can find it in the browser dev tools.
1457721872758
@sebastianbenz
The text was updated successfully, but these errors were encountered: