]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Switch to `&:extend(.clearfix all)` for clearfix mixin
authorMark Otto <otto@github.com>
Mon, 9 Dec 2013 07:18:28 +0000 (23:18 -0800)
committerMark Otto <otto@github.com>
Mon, 9 Dec 2013 07:18:28 +0000 (23:18 -0800)
commit0016c17f9307bc71fc96d8d4680a9c861f137cae
tree924b71e67407df3203ed726480c06063c52be9d6
parent2a4621b71f3440fac06f519fe9a0e61d4418dbe6
Switch to `&:extend(.clearfix all)` for clearfix mixin

Original discussion:
https://github.com/less/less.js/issues/1437#issuecomment-21383639.

Since we’re switching to `grunt-contrib-less`, we can take advantage of
newer LESS features than what RECESS supported. Included in that is the
ability to `:extend`, and not only that, but `:extend(.mixin-name
all)`. By doing so, we remove duplicate CSS for all our elements that
were being clearfix-ed.

Fixes #8947, #8968, #8991, #9257, #9268, #9291, #9430, #9604, #9686,
#9929, #10731, #10793, #11305, #11498, #11533, #11570, #11604, #11652.

(dem issues, tho)
dist/css/bootstrap.css
dist/css/bootstrap.min.css
less/button-groups.less
less/mixins.less
less/modals.less
less/navbar.less
less/navs.less
less/pager.less
less/panels.less
less/type.less