-
-
Notifications
You must be signed in to change notification settings - Fork 111
Expand file tree
/
Copy pathExternalApp.vue
More file actions
54 lines (47 loc) · 1.15 KB
/
ExternalApp.vue
File metadata and controls
54 lines (47 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<!--
- SPDX-FileCopyrightText: 2026 LibreCode coop and LibreCode contributors
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
<template>
<div class="external-app">
<router-view />
<RightSidebar />
</div>
</template>
<script setup lang="ts">
import { defineOptions } from 'vue'
defineOptions({ name: 'LibreSignExternal' })
import RightSidebar from './components/RightSidebar/RightSidebar.vue'
</script>
<style lang="scss">
// Override server.css layout rules that assume authenticated header layout.
// `html body #content` beats the specificity of server.css selectors.
html body #content {
position: fixed;
inset: 0;
margin: 0;
width: 100vw;
height: 100vh;
border-radius: 0;
}
// On mobile, NcAppSidebar relies on NcContent to overlay content.
// Without it, force the sidebar to cover the viewport as a full-screen overlay.
@media (max-width: 512px) {
#app-sidebar {
position: fixed;
inset: 0;
width: 100vw !important;
max-width: 100vw !important;
height: 100vh;
z-index: 2000;
}
}
</style>
<style lang="scss" scoped>
.external-app {
position: absolute;
inset: 0;
display: flex;
background-color: var(--color-main-background);
}
</style>