WIP: Fixes issue where lost-move would not retain local gutter#219
WIP: Fixes issue where lost-move would not retain local gutter#219peterramsing wants to merge 2 commits into6.6.4from
Conversation
* fixes a typo * reflects the lost-move adding its rules to the lost-column rules
|
This is looking a lot more complex as I'm diving in further. It's doable but having There are three options I can see right now:
I do have a working concept of option 3 working right now nicely. It might be a suitable patch. |
|
Another thought: I am realizing that this change could have some breaking affects for users. I'm concerned with shipping this in 6.6.4. @sidonaldson You should be able to make this work with the example codepen but I understand having to declare the gutter again isn't idea. @corysimmons I don't think this is not suitable as a patch. I think there could be a backwards compatibility solution that could be With that thought, I feel this might be an addition for 7.0.0. Thoughts on this "breaking" update? |
|
I wouldn't worry about making backwards compatible API changes. I'd just do this in 7. So far as making this work, you could move https://github.com/peterramsing/lost/blob/master/lost.js#L16 above https://github.com/peterramsing/lost/blob/master/lost.js#L12 Then when |
|
Wait-is it really as simple as moving that order? I promised I'd finish editing a photoshoot for the Mrs. but will look further into this tomorrow. That being said...I think this is something that goes in 7.0.0–especially if you agree. Thanks. |
|
Closing but will re-open on the 7.0.0 branch. |
|
Are there other properties as well? Like would Maybe it'd be best if all of these were wrapped up into 7 with some kind of global rule for them turned on by default. |
|
There are probably more that would benefit from this. Sounds like a good start to the scope of Lost 7 |
|
After thinking through this on my run this morning a bit more, I think that option 3 (3. Don't remove any of the lost-* properties until the end when a cleanup task removes them.) might be a good long-term option. I want to do some testing to see if there is a performance hit in regards to how long it takes to compile, but I think that it would allow for greater flexibility in the long run. I'll test re-ordering the files but that doesn't seem like the long-term solution that this needs. What if |
From #195
The
lost-moverule overrides the0gutter fromlost-column. This is addressed with this PR