| common/styles/layout.scss | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
common/styles/layout.scss
@@ -42,11 +42,13 @@ gap: $spacing-lg; } @use "sass:math"; $grid-columns: 12; @for $i from 1 through $grid-columns { .col-#{$i} { flex: 0 0 percentage($i / $grid-columns); max-width: percentage($i / $grid-columns); flex: 0 0 percentage(math.div($i, $grid-columns)); max-width: percentage(math.div($i, $grid-columns)); @include respond(compact) { flex: 0 0 100%;