Use shorthand to spread grid column

This commit is contained in:
2022-08-03 10:47:22 +02:00
parent 821e8752e6
commit 297f2ac300
9 changed files with 25 additions and 26 deletions

View File

@@ -20,7 +20,7 @@
.title {
position: relative;
z-index: 2;
grid-column: 1 / span var(--columns);
grid-column: 1 / -1;
margin: 0 auto;
padding: 0 32px;
font-family: $font-serif;
@@ -49,7 +49,7 @@
}
.housesof {
grid-column: span var(--columns);
grid-column: 1 / -1;
@include bp (sm) {
display: flex;
@@ -83,7 +83,7 @@
// Description
&__description {
grid-column: span var(--columns);
grid-column: 1 / -1;
position: relative;
z-index: 2;
margin-bottom: -8px;