xmtp / xmtp-dot-org

xmtp.org, powered by Docusaurus
https://xmtp.org
MIT License
11 stars 25 forks source link

Bug: Headlines to blog posts have unnecessary space when not even in number of lines #105

Closed darickdang closed 2 years ago

darickdang commented 2 years ago

Describe the bug

When there are blog posts with just 1 line, they still have 2 lines worth of space.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Scroll down to "Latest From XMTP" section.
  2. The post called "Introducing the XMTP Litepaper Public Draft" and "Truths Not Spoofs" have an extra line of space.

Expected behavior

Remove the extra line of space on blog posts with just 1 line of title text

Screenshots

CleanShot 2022-09-13 at 23 50 27@2x

Additional context

Desktop

Please complete the following information if you think it is relevant to the bug:

jhaaaa commented 2 years ago

@darickdang thank you for this! I asked @vehidtr to have the module accommodate headings that wrap to two lines. The extra space is there because I thought things looked weird without the blank line! LOL I'm open - whatever looks cleaner to your eye, I'm down with it.

image