Photo: Fix Number parallax and Location margins
This commit is contained in:
@@ -46,7 +46,7 @@ export const animateIn = scope => {
|
||||
const nbParallax = nbParallaxMedia => {
|
||||
if (nbParallaxMedia.matches) {
|
||||
const scroll = ScrollOut({
|
||||
targets: scope.querySelector('.photo_number span'),
|
||||
targets: scope.querySelector('.photo__number span'),
|
||||
onShown (el) {
|
||||
const translate = anime({
|
||||
targets: el,
|
||||
|
||||
@@ -198,7 +198,7 @@
|
||||
|
||||
h2 {
|
||||
font-size: rem(28px);
|
||||
margin-top: 28px;
|
||||
margin-top: 24px;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user