css: constraint iframe max width
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
64b176aa06
commit
fcd039ce66
|
@ -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