Media Viewer: Fix hiding footer (#1230)

This commit is contained in:
Alexander Zinchuk 2021-07-02 11:36:57 +03:00
parent 22999a60e6
commit 9f10464f8c

View File

@ -3,6 +3,7 @@
bottom: 0; bottom: 0;
padding: 1rem 0; padding: 1rem 0;
width: 100%; width: 100%;
transition: opacity .15s;
#MediaViewer.zoomed & { #MediaViewer.zoomed & {
display: none; display: none;
@ -45,9 +46,7 @@
} }
&.is-hidden { &.is-hidden {
.media-viewer-footer-content { opacity: 0;
opacity: 0;
}
} }
.media-text { .media-text {