Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Disallow row only containing a single col-*-12 #356

Open
ChrisMBarr opened this issue Feb 18, 2016 · 0 comments
Open

Disallow row only containing a single col-*-12 #356

ChrisMBarr opened this issue Feb 18, 2016 · 0 comments

Comments

@ChrisMBarr
Copy link
Contributor

Something I see somewhat frequently from coworkers is something like:

<div class="row">
    <div class="col-md-12">
        <p>stuff here</p>
    </div>
</div>

Which has the exact same rendered output as

<p>stuff here</p>

Right now I have to manually hunt for col-*-12 grid classes and look for the ones that would be useless like in my first example. IMO, It would be a huge benefit to have a simple rule that looked for these useless grid implementations.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants