Add dynamic photo's index on Location page

This commit is contained in:
2021-10-10 21:40:25 +02:00
parent e44f51c0c4
commit 51dc9650ec
3 changed files with 34 additions and 24 deletions

View File

@@ -126,22 +126,6 @@
&:not(:last-child) {
margin-bottom: 120px;
}
&:nth-child(even) {
.house {
&__photo {
grid-column-start: 4;
}
&__info {
margin-left: auto;
text-align: right;
}
&__index {
right: auto;
left: -250px;
}
}
}
}
// Next photos section
@@ -190,7 +174,7 @@
margin: 0 -10px;
}
}
& > p {
p {
display: block;
margin: 16px auto 0;
text-align: center;