From 321cad6537129e80a0266157c3d1b216e128c719 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Wed, 21 Mar 2018 02:07:38 +0100 Subject: [PATCH] Fixed audio player image --- layout/sidebar/audioplayer.scarlet | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/layout/sidebar/audioplayer.scarlet b/layout/sidebar/audioplayer.scarlet index ed8e1f9f..81bd23e2 100644 --- a/layout/sidebar/audioplayer.scarlet +++ b/layout/sidebar/audioplayer.scarlet @@ -29,6 +29,12 @@ transform translateY(0%) animation bounce-up-down 45s linear infinite + // The element-found class doesn't set opacity, + // because we're overwriting the animation. + // That's why we have to manually add it here. + &.element-found + opacity 1 + animation bounce-up-down 50% transform translateY(-30%)