mirror of
https://github.com/google/material-design-lite.git
synced 2024-09-17 15:17:17 +03:00
Implement full-width code blocks on mobile
This commit is contained in:
parent
cfbea5b996
commit
69c34ee359
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user