Skip to content

Allow disabling of default margin spacing globally #52

Closed
@benfurfie

Description

@benfurfie

Normally I write out custom solutions similar to Typography on projects for sections of content where I don't have direct access to the markup.

I figured I'd give Typography a try, but it's currently difficult to use because the plugin adds margin to elements within the prose class. This is particularly troublesome when working with preceeding components that have a consistent margin-bottom across the site, which would need to be adjusted to account for the additional margin added by Typography, or I would need to go through everything single element and add margin overrides in the config, which defaults the object of having a customisable solution off the shelf.

Being able to disable spacing, or use an override to apply margin only to the bottom or top of elements would help massively.

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