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:
parent
b7e04b6cc1
commit
73a245c650
|
@ -43,6 +43,9 @@ pre code {
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
margin: 1.75rem 0;
|
margin: 1.75rem 0;
|
||||||
}
|
}
|
||||||
|
iframe {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
a {
|
a {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
color: #ff2e88;
|
color: #ff2e88;
|
||||||
|
|
Loading…
Reference in New Issue