Improve consistency of rendering line breaks

This commit is contained in:
MatthiasSaihttam 2021-03-27 20:57:14 -04:00
parent d9c0103548
commit 697de9c5f4
1 changed files with 3 additions and 3 deletions

View File

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