Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

fix(css): remove styles that could apply to user-controlled elements. #4222

Closed
wants to merge 1 commit into from

Conversation

jelbourn
Copy link
Member

BREAKING CHANGE

@ThomasBurleson @robertmesserle

Related to #3516

I'm removing style rules that would affect elements that are not created/owned by ng-material. As far as I can tell form looking at the demos after this, everything is still the same on our end. Users that were inadvertently depending on these styles will be affected.

@robertmesserle
Copy link
Contributor

@jelbourn LGTM - might want to include a BREAKING CHANGE warning in the commit message.

@jelbourn jelbourn closed this in fbb6b28 Aug 19, 2015
@jelbourn jelbourn deleted the broad-border-box branch September 11, 2015 16:24
kennethcachia pushed a commit to kennethcachia/material that referenced this pull request Sep 23, 2015
BREAKING CHANGE: modify scope of `box-sizing: border-box` to be specific to only to elements owned by ngMaterial.

Before:

```css
*,*:before,*:after {
  box-sizing: border-box;
}

.md-container { }
```

After

```css
.md-container {
   box-sizing: border-box;
}
```

Refs angular#3516. Closes angular#4222
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants