mirror of https://github.com/zcash/zips.git
Make math scroll when it's too wide for the viewport
This commit is contained in:
parent
3a0c82234f
commit
f0a898c6e3
|
@ -74,6 +74,11 @@ h6 {
|
|||
font-size: 1rem;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin: 0 0 1rem 1rem;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
p, ul, ol, li, table {
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
|
@ -84,12 +89,20 @@ p, li {
|
|||
line-height: 1.625;
|
||||
}
|
||||
|
||||
pre {
|
||||
white-space: pre-line;
|
||||
pre, span.math {
|
||||
display: block;
|
||||
overflow-x: auto;
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
pre {
|
||||
border: 1px solid #e6e7e8;
|
||||
padding: 0.625rem;
|
||||
white-space: pre-line;
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
span.math {
|
||||
padding: 0.625rem 0.625rem 0;
|
||||
}
|
||||
|
||||
a, a:visited {
|
||||
|
|
Loading…
Reference in New Issue