stylus / nib

Stylus mixins, utilities, components, and gradient image generation
http://stylus.github.io/nib
MIT License
1.91k stars 249 forks source link

!important not preserved for display: block #251

Closed samdaltonmaag closed 10 years ago

samdaltonmaag commented 10 years ago

!important is lost when applied to display: block, but other display properties work.

For example:

.test
  display none !important

compliles to

.test {
  display: none !important;
}

but

.test
  display block !important

compiles to

.test {
  display: block;
}

Using v1.0.2

samdaltonmaag commented 10 years ago

Apologies, this is a stylus bug, not nib.