Skip to content

improvement to _alert-box.scss #15

@ghost

Description

Improves the close X making it easier to click on and preventing it from hitting text in the box.

//
// Close button
// --------------------------------------------------

& > .close {
++ font-size: typeScale(2);
++ padding: 0 0.4em;
++ line-height:1.2;
color: inherit;
position: absolute;
-- right: 1em;
-- top: 0.8em;
++ right: 0.0em;
++ top: 0.0em;

alert-box-original
alert-box-new

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions