Fix `:last-child` bug on message margins
This commit is contained in:
parent
ad408a7cea
commit
f350cd6f6f
|
@ -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 > * {
|
||||
|
|
Loading…
Reference in New Issue