Add city to House info if existing

This commit is contained in:
2021-11-10 23:55:44 +01:00
parent e94c9f6d9a
commit f7af2aa8f3
4 changed files with 37 additions and 17 deletions

View File

@@ -13,11 +13,13 @@
// Information
&__info {
grid-column: 2 / span var(--columns);
grid-column: 1 / span var(--columns);
margin-bottom: 32px;
padding: 0 20px;
max-width: min(540px, 85vw);
@include bp (mob-lg) {
max-width: min(540px, 85vw);
}
@include bp (sm) {
grid-column: 4 / span 14;
margin-bottom: 56px;
@@ -25,14 +27,28 @@
max-width: 800px;
}
time {
.info {
display: block;
margin-top: 16px;
color: $color-lightgray;
line-height: 1.5;
@include bp (sm) {
margin-top: 24px;
}
& > * {
display: inline-block;
}
svg {
width: 1em;
height: 1em;
margin-right: 0.4em;
margin-bottom: 3px;
}
.sep {
margin: 0 4px;
}
}
}