mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-21 11:49:59 +00:00
Initial commit to release
This commit is contained in:
39
packages/editor-ui/src/components/PageContentWrapper.vue
Normal file
39
packages/editor-ui/src/components/PageContentWrapper.vue
Normal file
@@ -0,0 +1,39 @@
|
||||
<template>
|
||||
<div class="wrapper">
|
||||
<div class="scroll">
|
||||
<div class="content">
|
||||
<slot></slot>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
|
||||
import Vue from 'vue';
|
||||
|
||||
export default Vue.extend(
|
||||
{
|
||||
name: 'PageContentWrapper',
|
||||
}
|
||||
);
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.wrapper {
|
||||
padding-top: 40px;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: calc(100% - 40px);
|
||||
}
|
||||
.scroll {
|
||||
overflow-y: auto;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.content {
|
||||
padding: 1em;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user