-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Closed
Milestone
Description
Short description of the problem:
We work very component based (reactive) and we try to follow css semantics - we almost don't use css classes. This has worked well untill the beta 11. Now, every componet has its own class, i.e ion-card with the classes card-md, card-ios and card-wp.
What behavior are you expecting?
I want to write the following css:
my-card-main-component {
ion-card-header {
padding-right: $padding-left-right;
padding-left: $padding-left-right;
}
}
This does not work, as the card-md class overrides it.
Steps to reproduce:
- Try to create css semantically like example above
Which Ionic Version? 2 RC0
Run ionic info from terminal/cmd prompt: (paste output below)
Cordova CLI: 6.3.1
Gulp version: CLI version 3.9.1
Gulp local:
Ionic Framework Version: 2.0.0-rc.0
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.1.0-beta.1
OS: Node Version: v4.6.0
trakhimenok, zakton5, brettatoms, chrisl8888, codespore and 3 more
Metadata
Metadata
Assignees
Labels
No labels