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 {
|
.docs.page {
|
||||||
padding: 69px $tiny $xl;
|
padding: 69px $tiny $xl;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
@ -148,16 +159,6 @@
|
|||||||
padding: initial;
|
padding: initial;
|
||||||
white-space: inherit;
|
white-space: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
|
||||||
margin: 30px -16px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: $xlarge) {
|
|
||||||
pre {
|
|
||||||
margin-right: -120px !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
h1,
|
h1,
|
||||||
|
@ -63,7 +63,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.widget pre {
|
.widget pre {
|
||||||
background: #eee !important; /* making sure the pre has proper background contrast */
|
margin-right: 0 !important;
|
||||||
|
margin-left: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.widget h3 {
|
.widget h3 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user