diff --git a/src/views/Viewer.vue b/src/views/Viewer.vue index 96c7d0ae4..76d150f8b 100644 --- a/src/views/Viewer.vue +++ b/src/views/Viewer.vue @@ -113,65 +113,75 @@
- +
+ +
- - + class="viewer__file-wrapper viewer__file-wrapper--hidden" + aria-hidden="true" + inert> + + +
- - +
+ + +
- - + class="viewer__file-wrapper viewer__file-wrapper--hidden" + aria-hidden="true" + inert> + + + @@ -1231,17 +1241,16 @@ export default { } &__content { - // center views + width: 100%; + height: 100%; + } + + &__file-wrapper { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; - } - - &__file { - transition: height 100ms ease, - width 100ms ease; // display on page but make it invisible &--hidden { @@ -1251,6 +1260,11 @@ export default { } } + &__file { + transition: height 100ms ease, + width 100ms ease; + } + &.theme--dark:deep(.button-vue--vue-tertiary) { &:hover { background-color: rgba(255, 255, 255, .08) !important;