-
-
Notifications
You must be signed in to change notification settings - Fork 78.8k
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
Restore grid mixins #9436
Comments
Yes please. |
(Removed tangential discussion thread due to lack of relevance) |
Note that this appears to fix the issues introduced in e4bb388 — thanks. |
Hey @jonschlinkert, is there a way of generating a comma-separated list of classes in Less 1.4 (or one slated for Less 1.5? I'd like to replace the static lists at https://github.com/twbs/bootstrap/blob/3.0.0-wip/less/grid.less#L16 with one that can be generated based on some Less variables (e.g., set the # of cols and get the appropriate classes). |
As a heads up, this is being punted until at least 3.1. Sorry folks! <3 |
@mdo you could do a loop like this
Wich yields:
|
I am currently taking a crack at this. |
nevermind, I was looking at the wrong variable in variables.less. sorry. |
Generating 16 grid from customizer is not available? |
@codebountycharlie Are you spammer? |
But why is he promoting it here? 2013/9/11 René Kooi [email protected]
Zlatan Vasović - ZDroid |
Because @jperl put a $5 bounty on this issue... the @codebountycharlie bot appears to want to notify the world of that bounty's existence |
IMO it would be good to understand exactly what this grid should do, so let's summarize the goals of the grid first. then we can address the points one by one and get this done for 3.1. I'm just going to start with @mdo's comment:
I can update this list based on feedback. What are the goals related to: fluid, responsive, customizing class names, gutters, etc? |
From what I have been following in the thread, at the moment the grid system is hardcoded. The goal is to be able to define how many columns are available in the final css, like @cvrebert did on his alternative (#9970). The resulting css is a bit redundant, as he pointed out, but I have been using it and it works like it is supposed to. |
@brunoamaral thanks. @mdo what are your thoughts on @cvrebert's code? I don't have an opinion, I just want to help if I can. |
Not sure i should be creating a new issue for this. But is related to responsive grid so posting here. Responsive Gutters seems like a must. For eg. while nesting the size of gutter does not change. Aligning detailed and highly nested columns is a pain, because then the gutter value becomes too big for the size of the actual column. I have a nested scenario in which the width of column left is only col-md-3 column is 15px while the i have gutter of 15px on each side. I dont have a clear solution but maybe sometthing to think about |
…because full width elements
…because full width elements
Gotta bring back those grid mixins so folks can generate any number of columns easily—screw this no mixin business we have right now.
The text was updated successfully, but these errors were encountered: