Added trailers. Improved scene page scaling.

This commit is contained in:
2024-03-24 04:22:37 +01:00
parent 8a32febb8a
commit 08e4146d91
23 changed files with 3204 additions and 413 deletions

View File

@@ -95,18 +95,6 @@ onMounted(() => {
</script>
<style>
.scroller {
height: 30rem;
overflow-y: auto;
}
.item {
height: 32px;
padding: 0 12px;
display: flex;
align-items: center;
}
.slide-enter-active,
.slide-leave-active {
&.sidebar-container {

View File

@@ -4,12 +4,20 @@
import { inject } from 'vue';
const key = Symbol(); // eslint-disable-line symbol-description
let localPageContext = null; // eslint-disable-line import/no-mutable-exports
export function usePageContext() {
const pageContext = inject(key);
return pageContext;
}
export function getPageContext() {
return localPageContext;
}
export function setPageContext(app, pageContext) {
localPageContext = pageContext;
app.provide(key, pageContext);
}
export { localPageContext as pageContext };