fix code block styling in widgets section (#1312)
This commit is contained in:
parent
03faa28a41
commit
a2723f488e
@ -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,
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user