Projet

Général

Profil

0001-scss-add-support-for-vertical-align-of-grid-cells-25.patch

Serghei Mihai (congés, retour 15/05), 12 juillet 2018 17:30

Télécharger (952 octets)

Voir les différences:

Subject: [PATCH] scss: add support for vertical align of grid cells (#25257)

 static/includes/_grid.scss | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
static/includes/_grid.scss
47 47
@each $i in 1, 2, 3, 4, 6, 12 {
48 48
	@for $j from 1 through $i {
49 49
		.grid-#{$j}-#{$i} {
50
			width: calc( #{100*$j/$i+0%} - #{$grid-gutter});
50
			width: calc( #{100*$j/$i+0%} - #{$grid-gutter/$i});
51 51
			@media screen and (max-width: $mobile-limit) {
52 52
				@if $i == 4 and $j <= 2 { width: calc(50% - #{$grid-gutter}); }
53 53
				@else if $i == 4 and $j >  2 { width: calc(100% - #{$grid-gutter}); }
54
-