Make math scroll when it's too wide for the viewport

This commit is contained in:
copernicus-mogley 2020-01-24 13:34:57 +01:00 committed by Daira Hopwood
parent 3a0c82234f
commit f0a898c6e3
1 changed files with 16 additions and 3 deletions

View File

@ -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 {