From 9f10464f8c803cfd5f6eaa973563ca70ccd3853e Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Fri, 2 Jul 2021 11:36:57 +0300 Subject: [PATCH] Media Viewer: Fix hiding footer (#1230) --- src/components/mediaViewer/MediaViewerFooter.scss | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/mediaViewer/MediaViewerFooter.scss b/src/components/mediaViewer/MediaViewerFooter.scss index fafa3157..f7859c09 100644 --- a/src/components/mediaViewer/MediaViewerFooter.scss +++ b/src/components/mediaViewer/MediaViewerFooter.scss @@ -3,6 +3,7 @@ bottom: 0; padding: 1rem 0; width: 100%; + transition: opacity .15s; #MediaViewer.zoomed & { display: none; @@ -45,9 +46,7 @@ } &.is-hidden { - .media-viewer-footer-content { - opacity: 0; - } + opacity: 0; } .media-text {