Fix code block size on mobile

This commit is contained in:
Mikko Ahlroth 2018-11-19 20:00:29 +02:00
parent 2c6726d516
commit 0414f6bcb5

View file

@ -23,6 +23,11 @@
}
}
pre[class*="language-"] {
// Code should not enlargen mobile layouts, so remove 40px for padding.
max-width: calc(100vw - 20px * 2);
}
iframe.youtube {
display: block;
width: 100%;