Comments (13)
I think your solution is a good one, we could make a method to sub-process that line of the @media
and return the stuff. So that we have to call that method inside the ìf` you are talking and things should keep simple.
Anyway I will think about other solutions.. thanks
from css2stylus.js.
I'm seeing this issue as well.
from css2stylus.js.
Seems a pretty good fix to do by adding an additional check. Didn't have the time yet to implement it. I will try it whenever I have time for this, please feel free to contribute
from css2stylus.js.
I'm still having this issue as well, given:
@media(min-width:1200px) {
.timeline>li {
min-height: 170px;
}
}
Css2stylus outputs:
@media(min-width
&:1200px)
.timeline>li {
min-height 170px
from css2stylus.js.
Still having this issue too
@media
(max-width
&:
767px)
before {
left 40px
ul
&.timeline
& > li
margin-bottom 20px
position relative
width 100%
float left
clear left
from css2stylus.js.
this needs to be addressed in a special case. open to contributions :)
will try to fix it at some point
from css2stylus.js.
Honestly, it's not a feature, but a straight up bug. :|
from css2stylus.js.
well as I see it is a feature. because this version i never made any special implementation for handling media queries. so if support is something is needed to be implemented (not fixed) is a feature. not a bug
from css2stylus.js.
and what i meant above in my previous comment by "fix" was about fixing the github issue by implementing this feature.
thanks for the contribution
from css2stylus.js.
+1
I also faced @media
issue
from css2stylus.js.
Hi, any news on this ?
from css2stylus.js.
i am pretty busy to handle this now, please feel free to contribute.
On Wed, Oct 28, 2015 at 10:08 AM, Pierre de la Martinière <
[email protected]> wrote:
Hi, any news on this ?
—
Reply to this email directly or view it on GitHub
#7 (comment)
.
from css2stylus.js.
I just submitted a pull request that should fix this issue
from css2stylus.js.
Related Issues (16)
- Support for nib? HOT 1
- Choose style of stylus output HOT 3
- FunnyQ HOT 2
- some syntax errors after converting HOT 1
- base 64 encoded image URLs generate invalid stylus. HOT 4
- Feature Request: --out HOT 2
- @font-face HOT 1
- Add --keep-colons opt? HOT 2
- To be more tolerant to omitted semicolons; HOT 1
- Add specs... HOT 2
- Odd output with comments HOT 2
- window.pareseInt is not a function HOT 2
- duplicate media queries
- Website down... HOT 5
- -u options not work as expected HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from css2stylus.js.