mirror of
https://github.com/zulip/zulip.git
synced 2025-10-24 16:43:57 +00:00
message view: Reduce extra white space above quotes and unordered lists.
Blockquotes and unordered lists had a large amount of space above them when preceded by a paragraph tag, which looks ugly. This is a common issue with the CSS rendering of essentially all markdown implementations (e.g. GitHub has this bug). We resolve the issue by reducing that whitespace with negative margins. Hopefully, this won't create other weird glitches in the process. Fixes #11631.
This commit is contained in:
@@ -1475,6 +1475,14 @@ blockquote p {
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
.rendered_markdown p + ul {
|
||||
margin-top: -7px;
|
||||
}
|
||||
|
||||
.rendered_markdown p + blockquote {
|
||||
margin-top: -4px;
|
||||
}
|
||||
|
||||
.messagebox {
|
||||
word-wrap: break-word;
|
||||
cursor: pointer;
|
||||
|
||||
Reference in New Issue
Block a user