Fix `:last-child` bug on message margins

This commit is contained in:
Christian Bundy 2019-09-30 15:33:42 -07:00
parent ad408a7cea
commit f350cd6f6f
No known key found for this signature in database
GPG Key ID: EB541AAEF4366237
1 changed files with 2 additions and 2 deletions

View File

@ -128,7 +128,6 @@ pre {
border-color: var(--blue);
/* prevents other messages from overlapping */
margin-top: 1px;
margin-bottom: 0;
}
@ -148,7 +147,7 @@ pre {
padding-top: 0;
}
.message > :last-child {
.content > :last-child {
margin-bottom: 0;
padding-bottom: 0;
}
@ -258,6 +257,7 @@ nav > ul > li > a {
.message > footer {
display: flex;
justify-content: space-between;
margin-top: 1rem;
}
.message > footer > * {