Implement full-width code blocks on mobile

This commit is contained in:
Alexander Surma 2015-07-02 11:09:01 +01:00
parent cfbea5b996
commit 69c34ee359

View File

@ -1182,3 +1182,12 @@ code[class*=language-], pre[class*=language-] {
.docs-navigation .spacer {
flex-grow: 1;
}
.docs-layout.is-small-screen .docs-text-styling pre {
margin: 0 -16px;
width: 100vw;
max-width: 640px;
}
.docs-text-styling p {
margin-top: 16px;
margin-bottom: 16px;
}