Fix code block size on mobile
This commit is contained in:
parent
2c6726d516
commit
0414f6bcb5
1 changed files with 5 additions and 0 deletions
|
@ -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 {
|
iframe.youtube {
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
Reference in a new issue