Improve consistency of rendering line breaks
This commit is contained in:
parent
d9c0103548
commit
697de9c5f4
|
@ -95,7 +95,7 @@ textarea, input[type="text"], input[type="password"] {
|
|||
max-width: 100%;
|
||||
}
|
||||
|
||||
.main-text, .main-text p {
|
||||
.main-text, .main-text p:last-child {
|
||||
display: inline; /*inline so that the Show More is on the same line*/
|
||||
}
|
||||
|
||||
|
@ -115,8 +115,8 @@ a {
|
|||
margin: 0;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
.text p:not(:first-child) {
|
||||
margin-top: 1em;
|
||||
.text > :not(:last-child) {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.text pre {
|
||||
background: black;
|
||||
|
|
Loading…
Reference in New Issue