fix: Positioning and active state of viewer components

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2024-03-07 07:38:25 +01:00 committed by John Molakvoæ (skjnldsv)
parent cc93ce6781
commit bebf1e1860
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
118 changed files with 10 additions and 3 deletions

View File

@ -37,8 +37,8 @@
<!-- Live preview if a handler is available -->
<component :is="viewerHandler.component"
v-else-if="viewerHandler && !failedViewer"
:active="false"
v-else-if="interactive && viewerHandler && !failedViewer"
:active="false /* prevent video from autoplaying */"
:can-swipe="false"
:can-zoom="false"
:is-embedded="true"
@ -46,7 +46,7 @@
:file-list="[viewerFile]"
:is-full-screen="false"
:is-sidebar-shown="false"
class="widget-file widget-file--preview"
class="widget-file widget-file--interactive"
@error="failedViewer = true" />
<!-- The file is accessible -->
@ -307,5 +307,12 @@ export default defineComponent({
&--link {
color: var(--color-text-maxcontrast);
}
&--interactive {
position: relative;
height: 400px;
max-height: 50vh;
margin: 0;
}
}
</style>

Binary file not shown.

Binary file not shown.

BIN
dist/1359-1359.js vendored Normal file

Binary file not shown.

BIN
dist/1359-1359.js.map vendored Normal file

Binary file not shown.

BIN
dist/2382-2382.js vendored

Binary file not shown.

BIN
dist/2382-2382.js.map vendored

Binary file not shown.

BIN
dist/3747-3747.js vendored

Binary file not shown.

BIN
dist/3747-3747.js.map vendored

Binary file not shown.

BIN
dist/5225-5225.js vendored

Binary file not shown.

BIN
dist/5225-5225.js.map vendored

Binary file not shown.

BIN
dist/5528-5528.js vendored

Binary file not shown.

BIN
dist/5662-5662.js vendored

Binary file not shown.

BIN
dist/7462-7462.js vendored

Binary file not shown.

BIN
dist/7462-7462.js.map vendored

Binary file not shown.

BIN
dist/7883-7883.js vendored

Binary file not shown.

BIN
dist/7883-7883.js.map vendored

Binary file not shown.

BIN
dist/8618-8618.js vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
dist/8670-8670.js vendored

Binary file not shown.

BIN
dist/8670-8670.js.map vendored

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
dist/core-common.js vendored

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
dist/core-login.js vendored

Binary file not shown.

BIN
dist/core-login.js.map vendored

Binary file not shown.

BIN
dist/core-main.js vendored

Binary file not shown.

BIN
dist/core-main.js.map vendored

Binary file not shown.

BIN
dist/core-profile.js vendored

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
dist/dashboard-main.js vendored

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
dist/files-init.js vendored

Binary file not shown.

BIN
dist/files-init.js.map vendored

Binary file not shown.

BIN
dist/files-main.js vendored

Binary file not shown.

BIN
dist/files-main.js.map vendored

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
dist/files-sidebar.js vendored

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
dist/oauth2-oauth2.js vendored

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More