Skip to content

--nv-tip-width should use pseudo-element #78

Description

@mrleblanc101

--nv-tip-width should use a pseudo-element instead of a box-shadow to prevent it being affected by border-radius.

Before:
Image

After:
Image

.Notivue__notification {
    overflow: hidden;
    &::before {
        content: "";
        display: block;
        border-left: var(--nv-tip-width) solid var(--nv-accent);
        align-self: stretch;
    }
}

Metadata

Metadata

Assignees

Labels

enhancementImprovements to current API

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions