Add dynamic photo's index on Location page
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user