From 0a08c36aa90e160fba6a1bde5b98a7dbaaf4e60e Mon Sep 17 00:00:00 2001 From: Andrew Date: Mon, 1 Dec 2014 16:33:44 -0700 Subject: [PATCH] docs(slidebox): add comment about why we use !important --- scss/_slide-box.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scss/_slide-box.scss b/scss/_slide-box.scss index aa8982ea25..55a1ed9622 100644 --- a/scss/_slide-box.scss +++ b/scss/_slide-box.scss @@ -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"] {