mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-03 08:49:51 +02: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
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ img {
|
|||
height: auto;
|
||||
}
|
||||
|
||||
article p img {
|
||||
article p img, article iframe {
|
||||
max-width: 100%;
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue