Temporary browsable Carousel on photo page

Stuff to be fixed/work on:
- Why is currentPhoto only triggered at the second photo and not the first?
- popState events (prev/next on browser) not working - detect URL changes and change the currentIndex
This commit is contained in:
2020-03-02 22:30:27 +01:00
parent 1db9217cd0
commit 804880a908
4 changed files with 156 additions and 77 deletions

View File

@@ -94,8 +94,8 @@
}
}
// Information
&__information {
// Informations
&__infos {
margin-top: 32px;
padding: 0 24px;
@@ -104,27 +104,26 @@
justify-content: space-between;
padding: 0;
}
}
// Location
&--location {
width: 75%;
text-align: left;
// Location
&__locations {
width: 75%;
}
&__location {
text-align: left;
margin-top: 0;
}
.street {
margin: 0;
}
}
// Date
&__date {
color: rgba($color-tertiary, 0.5);
font-size: rem(12px);
margin-top: 16px;
// Date
&--date {
color: rgba($color-tertiary, 0.5);
font-size: rem(12px);
margin-top: 16px;
@include breakpoint (sm) {
font-size: rem(14px);
margin: 0;
}
@include breakpoint (sm) {
font-size: rem(14px);
margin: 0;
}
}