]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Make .nav flex-powered
authorMark Otto <markdotto@gmail.com>
Fri, 23 Dec 2016 18:39:53 +0000 (10:39 -0800)
committerMark Otto <markd.otto@gmail.com>
Sat, 24 Dec 2016 22:21:04 +0000 (14:21 -0800)
commit699d8a5a804db30219f159c2b3a623422574ff3d
treee09342071cd26ecf22375fe334800374d170d172
parentec0dbc74a7145db02b0fb1fd2be90efd5febc73a
Make .nav flex-powered

- Set an explicit `display: flex` on the base `.nav` class and remove the floats/clearfixes from our navs.

- Set some global styles for `.nav-link`, a departure from the previous solution that featured no predefined padding.

- Move `.nav-link` from `inline-block` to `block` given this setting was added for our tabs and pills anyway.

- Remove horizontal margin from nav tabs; let folks set that on their own from now on.
scss/_nav.scss