]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Revert simplified grid column styles from #22376
authorMark Otto <markd.otto@gmail.com>
Fri, 26 May 2017 19:41:07 +0000 (12:41 -0700)
committerMark Otto <markd.otto@gmail.com>
Sat, 27 May 2017 03:16:12 +0000 (20:16 -0700)
commit7e1497ddb8570a300cb2ba1a84cc37b278aeab20
treed554847c9f922d6ba03a29c8633213aa842c8474
parentc8c51186f58886b114fbcc4e0b01dd2df3d74d36
Revert simplified grid column styles from #22376

The premise for #22376 was that if we removed the `max-width` and `flex` properties, we could use the column classes as `width` utilities. The problem that I didn't remember at the time is that column classes have horizontal `padding` on them. This doesn't work for setting `width`. Perhaps more importantly, this causes #22649—the automatic sizing of columns is broken with the absence of `flex` styles.

/cc @sachinsinghi
scss/mixins/_grid.scss