fix code block styling in widgets section (#1312)

This commit is contained in:
Shawn Erquhart 2018-04-23 19:57:00 -04:00 committed by GitHub
parent 03faa28a41
commit a2723f488e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 11 deletions

View File

@ -1,3 +1,14 @@
.docs-content {
pre {
margin: 30px -16px !important;
}
@media (min-width: $xlarge) {
pre {
margin-right: -120px !important;
}
}
}
.docs.page {
padding: 69px $tiny $xl;
text-align: left;
@ -148,16 +159,6 @@
padding: initial;
white-space: inherit;
}
pre {
margin: 30px -16px !important;
}
@media (min-width: $xlarge) {
pre {
margin-right: -120px !important;
}
}
}
h1,

View File

@ -63,7 +63,8 @@
}
.widget pre {
background: #eee !important; /* making sure the pre has proper background contrast */
margin-right: 0 !important;
margin-left: 0 !important;
}
.widget h3 {