diff --git a/src/views/Viewer.vue b/src/views/Viewer.vue index c225293fc..8fa2a3376 100644 --- a/src/views/Viewer.vue +++ b/src/views/Viewer.vue @@ -113,65 +113,76 @@
- +
+ +
- - + class="viewer__file-wrapper hidden-visually" + aria-hidden="true" + inert> + + +
- - +
+ + +
- - + class="viewer__file-wrapper hidden-visually" + aria-hidden="true" + inert> + + + @@ -1234,7 +1245,11 @@ export default { } &__content { - // center views + width: 100%; + height: 100%; + } + + &__file-wrapper { display: flex; align-items: center; justify-content: center; @@ -1245,13 +1260,6 @@ export default { &__file { transition: height 100ms ease, width 100ms ease; - - // display on page but make it invisible - &--hidden { - position: absolute; - z-index: -1; - left: -10000px; - } } &.theme--dark:deep(.button-vue--vue-tertiary) {