Giter VIP home page Giter VIP logo

Comments (5)

narcolepticinsomniac avatar narcolepticinsomniac commented on May 28, 2024 1

Hmm, looks like you're probably right. I never bothered much with USo advanced settings. I wrote the CSS, but as credited in the description, a friend implemented advanced settings. Perhaps they need adjusting.

Otherwise, it LGTM. I'll mention this archive in the Stylus repo/Discord to see if it can't get some more testing and feedback.

from data.

33KK avatar 33KK commented on May 28, 2024

Oh, settings conversion should work, problem is style settings object is null for some reason, ill look into that tomorrow 🥴

Convertion seems to be working https://pastebin.com/raw/HFYR1Qqk#.user.css

from data.

33KK avatar 33KK commented on May 28, 2024

Should be working now

from data.

narcolepticinsomniac avatar narcolepticinsomniac commented on May 28, 2024

Nice. Best I've seen it working so far. In the case of the test style I mentioned, the first option is to specify compact columns, and the second "for yes" option is to specify how many columns, and adjust the layout/zebra-striping accordingly.

When the first option is "no", by default, the default for "for yes" is correctly ignored. Problem I see, is that changing the second "for yes" option, while the first option is still "no", incorrectly applies the CSS when any setting in the second option should be ignored unless the first option is "yes".

Most of the compact layout code is contained in the first option, but when that option is disabled, if you select anything besides the default 3 columns, you'll see the code from that "for yes" block being applied, even when the first option is set to "no". The zebra-striping makes it pretty obvious.

from data.

33KK avatar 33KK commented on May 28, 2024

If I understood correctly, problem is the style itself and /*[[ColumnNumber]]*/ should be moved inside CompactMode code block for "Yes"

from data.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.