@if $enable-classes { /** * Grid * Minimal grid system with auto-layout columns */ .grid { grid-column-gap: $spacing-gutter; grid-row-gap: $spacing-gutter; display: grid; grid-template-columns: 1fr; margin: 0; @if map-get($breakpoints, "lg") { @media (min-width: map-get($breakpoints, "lg")) { grid-template-columns: repeat(auto-fit, minmax(0%, 1fr)); } } & > * { min-width: 0; // HACK for childs in overflow } } }