jescalan / rupture

Simple media queries in stylus

Home Page:http://jescalan.github.io/rupture

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

display block bug

matichek opened this issue · comments

Helo,

anytime i use display block in +below , console give me an error:

.mobile-menu
display none

i
    color white
    text-align center
    vertical-align -2px
    padding spacing

+below(1000px)
    position fixed
    background red
    background first_color
    display block
    top 10px
    left 10px

The error is: "Maximum call stack size exceeded" on that line where is "display block"

Please help

Hi @matichek

Stylus had a bug in it that caused this error, but it's since been fixed. Have you made sure you're using the latest version of Stylus? (currently 0.47.1)

If that doesn't fix the issue, I'm planning on adding a few changes to Rupture that will mitigate this issue once and for all, it's just a little difficult to find the time available to do so right now.

Until then, you can change display block to display unquote('block') and it should work.

yes, thank you.. this was the problem.. I had an older version of gulp-stylus