Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add new portal into runtime to include footer #9815

Merged
merged 1 commit into from
Oct 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions changelog/unreleased/enhancement-runtime-footer-portal
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Enhancement: Add new portal into runtime to include footer

We've added a new portal into the application layout of runtime package. This portals allows developers to add new content below the app container. The name of the portal is `app.runtime.footer`.

https://github.com/owncloud/web/pull/9815
7 changes: 7 additions & 0 deletions packages/web-runtime/src/layouts/Application.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
/>
</template>
</div>

<portal-target name="app.runtime.footer" />
</div>
<div class="snackbars">
<message-bar :active-messages="activeMessages" @delete-message="deleteMessage" />
Expand Down Expand Up @@ -226,14 +228,19 @@ export default defineComponent({
}
#web-content-main {
align-items: flex-start;
display: flex;
flex-direction: column;
flex-grow: 1;
justify-content: flex-start;
overflow-y: hidden;
.app-container {
height: 100%;
background-color: var(--oc-color-background-default);
border-radius: 15px;
overflow: hidden;
width: 100%;
.app-content {
transition: all 0.35s cubic-bezier(0.34, 0.11, 0, 1.12);
Expand Down