docs(slidebox): add comment about why we use !important

This commit is contained in:
Andrew
2014-12-01 16:33:44 -07:00
parent 6bb630341d
commit 0a08c36aa9

View File

@@ -23,6 +23,8 @@ ion-slide {
@include translate3d(0,0,0);
&:not([slide-display]) {
// This !important flag is here because it lets the end-developer specify display styles
// for slides as specifically as he wants, but still not show the slides that should be hidden.
display: none !important;
}
&[slide-display="previous"] {