Skip to content

<md-divider> border color is not applied #1336

@rolandjitsu

Description

@rolandjitsu

Bug, feature request, or proposal:

Bug

What is the expected behavior?

<md-divider> border color should be much lighter when using the prebuilt indigo-pink theme.

What is the current behavior?

It is set to border-top-color: rgba(0, 0, 0, 0.12);, but the styles are not applied as there are other styles (border-top: 1px solid;) on the element that override it:

md-divider {
    display: block;
    border-top: 1px solid;
    margin: 0;
}

What I currently see:

divider

Styles applied:

styles

What are the steps to reproduce?

Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: http://plnkr.co/edit/o077B6uEiiIgkC0S06dd

What is the use-case or motivation for changing an existing behavior?

Which versions of Angular, Material, OS, browsers are affected?

Angular 2.0.1
Material 2.0.0-alpha.9/2.0.0-alpha.9-experimental

Is there anything else we should know?

It could be fixed by using the following instead of border: 1px solid;:

md-divider {
    border-width: 1px;
    border-style: solid;
}

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