Skip to content

Too much space between image and figcaption in base prose class #257

Closed
@MichaelAllenWarner

Description

@MichaelAllenWarner

What version of @tailwindcss/typography are you using?

v0.5.2

What version of Node.js are you using?

v16.4.2

What browser are you using?

Chrome

What operating system are you using?

macOS

Reproduction repository

https://play.tailwindcss.com/uj1vGACRJA

Describe your issue

NB: I used the official Typography demo URL as the "Reproduction repository," and the screenshots below are taken from that demo.

In the base .prose, there's a lot of space between image and figcaption in a figure:

Screen Shot 2022-03-18 at 11 50 37 AM

I believe this is not intended, as with .prose-lg it looks like this:

Screen Shot 2022-03-18 at 11 51 57 AM

I think there's a zero-vertical-margin rule on the image that's losing the specificity battle in .prose but winning it in .prose-lg.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions