mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-15 17:14:05 -08:00
5ca2148c7e
* ⚡ Adjust `format` script * 🔥 Remove exemption for `editor-ui` * 🎨 Prettify * 👕 Fix lint
36 lines
478 B
Vue
36 lines
478 B
Vue
<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>
|