Skip to content

Add a way to add spacing between sections #2977

@codecat

Description

@codecat

Is your feature request related to a problem? Please describe.
Something similar was requested in #876, which amounts to trying to add an mj-spacer in between 2 mj-section elements.

This is not guaranteed to work (even if it appears to work in my VSCode preview), but I don't think there's currently a good way to add spacing in between sections otherwise.

Describe the solution you'd like
I'd like to be able to (somehow) add spacing between sections. Perhaps even something like this (not exactly this terminology) could work:

<mj-list spacing="10">
  <mj-section />
  <mj-section />
</mj-list>

Describe alternatives you've considered
It's possible to add a border-bottom="10px solid #fff" to the bottom of the section, but that's not a great solution either.

Additional context
Image

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