-
-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
margin-right: settings.gutter !important when disabling offset #294
Comments
Will look into this. |
Is there any update on this issue? I'm having the exact same problem and it would be great to use something like this at certain breakpoints:
I'm using v7.1.0. |
@codebybrassneck I've been working on some other things for LostGrid but can certainly put some time into this. |
Sorry you're having this issue. I think there are two issues here: 1 being the |
I really appreciate you looking into this. I don't know whether this will help or hinder your efforts but I think the reason I came across this issue is at certain breakpoints I needed to center columns one above the other, but then at other breakpoints they needed to be side by side. What I was hoping to do was use something like this:
That didn't seem to be supported, so instead I used
(these are contrived examples, so not necessarily what I actually used, but it gives you a flavour of what I was doing/trying) This meant I had the remnants of the offset which I then needed to cancel out at another breakpoint, hence the enquiry here. If it's more straightforward, getting support for the centering syntax in the example above, for the width, then maybe just As this looks likely to be an edge case, I'd hate for you to waste a load of time on this, if it would be better spent elsewhere. Also, if there's anything I can help with, please do say. I have a little time in the evenings spare. |
Hmm. Off the top of my head, Thanks for the additional feedback. |
Hi there, I'm using this syntax which seems to be outputting
The syntax is a bit awkward, but seems to be the only thing I got working.. Thanks! |
sigh I have a possible solution for this using the ...and if indeed those |
Closing this to migrate conversation to the PR: #363 |
Is this a feature request or a bug report?
Bug report
What is the current behavior?
When you attempt to disable the offset lost outputs
margin-right: settings.gutter !important
If it's a bug please provide the steps to reproduce it and maybe some code samples.
@lost gutter 1rem;
lost-offset: 0
orlost-offset: -0
orlost-offset: none
orlost-offset: -0/1
outputs
margin-right: 1rem !important
What is the behavior that you expect?
see below
What's the motivation or use-case behind changing the behavior?
I would like to disable the offset on certain breakpoint.
What version of LostGrid, browser and browser version are affected by this issue? Did this happen in previous versions?
n/a
Example on codepen
http://codepen.io/plesiecki/pen/BKXEGz
The text was updated successfully, but these errors were encountered: