Rollup merge of #81558 - pickfire:patch-5, r=GuillaumeGomez
Fix ascii art text wrapping in mobile Fix #81377 Before    After    Note the second image is scrolled to the back (right), I added some padding for the text block (not the code block) to make it more comfortable to read since the last character is stuck to the last character.
This commit is contained in:
commit
45d24c729c
1 changed files with 2 additions and 1 deletions
|
@ -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,7 +405,7 @@ nav.sub {
|
|||
text-overflow: ellipsis;
|
||||
margin: 0;
|
||||
}
|
||||
.docblock code, .docblock-short code {
|
||||
.docblock-short code {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue