Photo: Fix Number parallax and Location margins

This commit is contained in:
2020-03-29 19:44:00 +02:00
parent 3b93e5e994
commit 02974aa00c
2 changed files with 2 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ export const animateIn = scope => {
const nbParallax = nbParallaxMedia => { const nbParallax = nbParallaxMedia => {
if (nbParallaxMedia.matches) { if (nbParallaxMedia.matches) {
const scroll = ScrollOut({ const scroll = ScrollOut({
targets: scope.querySelector('.photo_number span'), targets: scope.querySelector('.photo__number span'),
onShown (el) { onShown (el) {
const translate = anime({ const translate = anime({
targets: el, targets: el,

View File

@@ -198,7 +198,7 @@
h2 { h2 {
font-size: rem(28px); font-size: rem(28px);
margin-top: 28px; margin-top: 24px;
white-space: normal; white-space: normal;
} }