Skip to content

Commit

Permalink
Merge pull request #9815 from LukasHirt/feat/runtime-footer-portal
Browse files Browse the repository at this point in the history
feat: add new portal into runtime to include footer
  • Loading branch information
JammingBen authored Oct 16, 2023
2 parents e362f46 + 4b62829 commit e8caeb4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
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

0 comments on commit e8caeb4

Please sign in to comment.