Comments (8)
I was thinking someone might skip over that and not realize the purpose of grid-collapse
if they arenβt looking for nested grids.
from neat.
I've been having trouble with this one too- and will be interested to see what the answer is.
I haven't been able to find a solution so far.
It would be nice to have a "gutter position" option in the Neat Grid settings, similar to Susy 2, where you can define your gutters to be added as margin before, after or split (on both sides) of each grid column.
from neat.
You may be looking for @include grid-collapse;
- which consumes the gutters to create the equivalent of a container that visually has no margin left/right. eta: This should apply to the parent container if you're not nesting a grid.
from neat.
We should document this on http://neat.bourbon.io/examples/
Would anyone like to open a PR on thoughtbot/neat.bourbon.io to do that?
from neat.
Nevermind, removed my old comment. Seems using @include grid-collapse;
on the parent container does solve the issue, strange that this isn't default as I remember it being so on the older versions of Neat.
from neat.
I believe it is documented on the examples already under the Nest one grid inside another
section http://neat.bourbon.io/examples/
from neat.
I'll work on adding an example to the pages so that it is more clear. In the mean time, @dayul, you can see more of just how grid-collapse
works over at https://robots.thoughtbot.com/nesting-grids-with-neat-2.
from neat.
"Nesting" grids seemed to be the most common end-goal in the 1.x issues, and requests for documentation in the 2.x issues. Although a desire to remove the left-margin is effectively the same thing, I don't see a lot of requests that go straight to this end. Putting one grid a column of another seems to be much more common.
from neat.
Related Issues (20)
- Breakpoints not working, version 1.9 HOT 5
- outer-container not working properly, version 1.9.0 HOT 2
- Grid IN vs OUT HOT 1
- Using 'border' and 'padding' can break simple grid-column set in Neat 2.1.0. HOT 4
- Can't display the visual grids HOT 1
- Help with layout and new syntax please HOT 4
- Non-mobile first media queries HOT 5
- Sticky footer? HOT 1
- Module build failed: @return $n * $column-width + ($n - 1) * $gutter-width; HOT 4
- using paddings instead of margins for gutter HOT 4
- Remove node-sass dependency from 1.x HOT 2
- Grid not responding correctly in Safari / iOS until refresh. HOT 5
- toggle the device mode HOT 2
- Deprecated Unescaped multiline strings HOT 5
- NPM release HOT 6
- Neat fails on import using DartSass 1.11.0 and 1.12.0 HOT 4
- npm install: installs [email protected] HOT 6
- issue w/_neat-parse-columns HOT 1
- ruby-sass has reached end of life HOT 2
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 neat.