mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-26 01:33:02 +00:00
Center iframes and make them responsive (#209)
So if you add an image and an iframe (youtube embed), they behave the same at all resolutions.
This commit is contained in:
parent
d5f26a52d4
commit
f19bd80d80
|
|
@ -63,7 +63,7 @@ img {
|
|||
height: auto;
|
||||
}
|
||||
|
||||
article p img {
|
||||
article p img, article iframe {
|
||||
max-width: 100%;
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
|
|
|
|||
Loading…
Reference in New Issue