Skip to content

Missing margin on title div #51

@josefrichter

Description

@josefrichter

We have noticed that an mb-2 on title div is rendered conditionally over here, depending on the presence of icon https://github.com/srcrip/live_toast/blob/master/lib/live_toast/components.ex#L74-L77

However, right on your website https://toast.src.rip/ the toasts always have that margin, regardless of icon presence. See screenshot:

Image

We think it just "looks better" with the extra spacing. Not sure if the conditional logic there has some other purpose, so opening the issue here for your consideration.

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions