css: constraint iframe max width (#373)

Last blog post contains a Youtube iframe which is too large on mobile. Constraint its width to maximum viewport width.
This commit is contained in:
Vincent Bernat 2021-06-08 22:53:10 +02:00 committed by GitHub
parent b7e04b6cc1
commit 73a245c650
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -43,6 +43,9 @@ pre code {
text-shadow: none;
margin: 1.75rem 0;
}
iframe {
max-width: 100%;
}
a {
cursor: pointer;
color: #ff2e88;