mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 18:36:36 +00:00
spoilers: Style headers in Markdown-neutral way.
This commit is contained in:
@@ -247,11 +247,11 @@
|
|||||||
padding: 8px 5px;
|
padding: 8px 5px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
|
||||||
> p {
|
> :not(.spoiler-button) {
|
||||||
/* Disallow margin from ordinary rendered-markdown
|
/* Disallow margin from ordinary rendered-markdown
|
||||||
paragraphs. The header's vertical space is handled
|
elements. The header's vertical space is handled
|
||||||
independently by padding on .spoiler-header. */
|
independently by padding on .spoiler-header. */
|
||||||
margin: 0;
|
margin-bottom: 0;
|
||||||
/* Message grows to push the arrow to the right,
|
/* Message grows to push the arrow to the right,
|
||||||
but shrinks so as to allow long multi-line
|
but shrinks so as to allow long multi-line
|
||||||
spoiler messages to wrap. */
|
spoiler messages to wrap. */
|
||||||
|
|||||||
Reference in New Issue
Block a user