Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
rolandjitsu opened this issue Sep 27, 2016 · 1 comment
Closed

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

rolandjitsu opened this issue Sep 27, 2016 · 1 comment

Comments

@rolandjitsu
Copy link

rolandjitsu commented Sep 27, 2016

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;
}
jhyde added a commit to jhyde/material2 that referenced this issue Oct 20, 2016
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant