Fix ascii art text wrapping in mobile

Fix #81377
This commit is contained in:
Ivan Tham 2021-01-31 00:45:19 +08:00 committed by GitHub
parent 7ce1b3b244
commit 4a2a5f0780
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -156,6 +156,7 @@ code, pre, a.test-arrow {
}
.docblock pre code, .docblock-short pre code, .docblock code.spotlight {
padding: 0;
padding-right: 1ex;
}
.docblock code.spotlight :last-child {
padding-bottom: 0.6em;
@ -404,9 +405,6 @@ nav.sub {
text-overflow: ellipsis;
margin: 0;
}
.docblock code, .docblock-short code {
white-space: pre-wrap;
}
.docblock h1, .docblock h2, .docblock h3, .docblock h4, .docblock h5 {
border-bottom: 1px solid;