]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add a comment to follow-up on #17756
authorMark Otto <markdotto@gmail.com>
Thu, 7 Jan 2016 08:30:49 +0000 (00:30 -0800)
committerMark Otto <markdotto@gmail.com>
Thu, 7 Jan 2016 08:30:49 +0000 (00:30 -0800)
scss/mixins/_grid.scss

index e48e3db5dbd56f6f003fe7c7a017a23b57e7df5d..468bb39f28ba63e6284c0bfb2b6b696dfe128fa9 100644 (file)
@@ -46,6 +46,9 @@
 @mixin make-col-span($size, $columns: $grid-columns) {
   @if $enable-flex {
     flex: 0 0 percentage($size / $columns);
+    // Add a `max-width` to ensure content within each column does not blow out
+    // the width of the column. Applies to IE10+ and Firefox. Chrome and Safari
+    // do not appear to require this.
     max-width: percentage($size / $columns);
   } @else {
     width: percentage($size / $columns);