Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

markup: blockquote CSS has inconsistent margins #1876

Open
westurner opened this issue Sep 10, 2024 · 4 comments
Open

markup: blockquote CSS has inconsistent margins #1876

westurner opened this issue Sep 10, 2024 · 4 comments

Comments

@westurner
Copy link

blockquote CSS in Markdown previews and renders has inconsistent margins.

I think this may be a regression, but I don't have any screenshots of it having been working.

/* current CSS* /
.markdown-body p, .markdown-body blockquote, .markdown-body ul, .markdown-body ol, .markdown-body dl, .markdown-body table, .markdown-body pre, .markdown-body details {
  margin-top: 0;
  margin-bottom: var(--base-size-16);
}

Screenshot from 2024-09-10 12-56-05

/* suggested CSS */
.markdown-body p, .markdown-body blockquote, .markdown-body ul, .markdown-body ol, .markdown-body dl, .markdown-body table, .markdown-body pre, .markdown-body details {
  margin-top: var(--base-size-8);
  margin-bottom: var(--base-size-2);
}

Screenshot from 2024-09-10 12-55-47

@westurner
Copy link
Author

- thing1
  > blockquote without an li
  - > blockquote with an li
- thing2
  > blockquote without an li
  - a
  - > blockquote with an li
  - b
  - c
  • thing1

    blockquote without an li

    • blockquote with an li

  • thing2

    blockquote without an li

    • a
    • blockquote with an li

    • b
    • c

@westurner
Copy link
Author

Screenshot from 2024-09-10 14-05-55

Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale label Nov 10, 2024
@westurner
Copy link
Author

westurner commented Nov 10, 2024 via email

@github-actions github-actions bot removed the Stale label Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant