]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Create col class for auto flexbox columns
authorAlan Mooiman <amooiman@gmail.com>
Thu, 20 Oct 2016 16:59:42 +0000 (12:59 -0400)
committerAlan Mooiman <amooiman@gmail.com>
Thu, 20 Oct 2016 17:08:00 +0000 (13:08 -0400)
.col-xs-auto, .col-sm-auto, etc.

scss/mixins/_grid-framework.scss

index 35ccd9221ed8bab6c126e9513c937b21f4e9e6d6..5d791748934b2eb203b8992b9dc1d4e312498e97 100644 (file)
           flex-grow: 1;
           max-width: 100%;
         }
+       .col-#{$breakpoint}-auto {
+          flex: 0 0 auto;
+          width: auto;
+        }
       }
 
       @for $i from 1 through $columns {