mkdocs / mkdocs-bootstrap

MkDocs Bootstrap Theme
http://mkdocs.github.io/mkdocs-bootstrap/
BSD 2-Clause "Simplified" License
84 stars 38 forks source link

Proper use of bootstrap grid #15

Closed withlovee closed 6 years ago

withlovee commented 7 years ago

Hi team!

Thanks for making this awesome app. I found that there is a spacing problem due to improper use of bootstrap grid here:

bootstrap1

Basically, grid columns (col-md-3, col-md-9, etc..) must always be inside of <div class="row">.

After the fix, equal spaces without extra hacking css! bootstrap2

And you don't really need to use col-md-12 if it is just a plain one column box. So I moved up <hr> and add class containerto the footer so that it automatically add left & right padding on smaller screens.

Suggestions welcomed!