mirror of
https://github.com/Gioni06/terminal.css
synced 2025-03-09 09:09:04 -04:00
Fix blockquote empty overhang
When the blockquote element only contains a p element but no footer element or similar trailing tag, the ::after pseudo class paints a trailing empty line which only contains the ">" character. This is caused by an overhanging paragraph margin. Removing the margin for any last element contained in blockquote removes this visual glitch.
This commit is contained in:
parent
504ec3013e
commit
27caa0a496
@ -156,6 +156,10 @@ blockquote::after {
|
||||
color: #9ca2ab;
|
||||
}
|
||||
|
||||
blockquote *:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
code {
|
||||
font-weight: inherit;
|
||||
background-color: var(--code-bg-color);
|
||||
|
Loading…
x
Reference in New Issue
Block a user