Use shorthand to spread grid column
This commit is contained in:
@@ -294,7 +294,7 @@
|
||||
// Modules
|
||||
.grid-modules {
|
||||
@include bp (sm) {
|
||||
grid-column: 2 / span calc(var(--columns) - 2);
|
||||
grid-column: 2 / -2;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -308,14 +308,14 @@
|
||||
box-shadow: 0px -24px 120px rgba($color-primary-darker, 0.8);
|
||||
|
||||
@include bp (sm) {
|
||||
grid-column: 2 / span calc(var(--columns) - 2);
|
||||
grid-column: 2 / -2;
|
||||
margin-bottom: 48px;
|
||||
padding: 120px 0;
|
||||
}
|
||||
|
||||
h2 {
|
||||
grid-column: span var(--columns);
|
||||
margin-bottom: 56px;
|
||||
grid-column: 1 / -1;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
|
||||
@@ -325,7 +325,7 @@
|
||||
}
|
||||
.blocks {
|
||||
@include bp (sm) {
|
||||
grid-column: 4 / span calc(var(--columns) - 6);
|
||||
grid-column: 4 / -4;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
column-gap: 11.5%;
|
||||
|
||||
Reference in New Issue
Block a user