Files
NSG_PORTAL_V2/components/dynamic-page/page/layouts/articles/Page.vue
T

43 lines
962 B
Vue
Raw Normal View History

2024-05-30 18:06:50 +07:00
/*
- LayoutType: None=0 | Normal=1 | Short=2 | Long=3 | Page=4
- ContentType: None=0 | General=1 | Photo=2 | Audio=3 | Video=4 | Graphic=5 | Document=6 | Interaction=7 (Poll,Quiz)
*/
<script setup lang="ts">
</script>
<template>
<div class="page_container full-size-page">
<div class="layout_container full-size-layout grid-container">
<slot />
</div>
</div>
</template>
<style lang="scss" scoped>
.page_container {
&.full-size-page {
width: 100%;
}
2024-06-03 15:19:24 +07:00
/* .full-size-layout {
2024-05-30 18:06:50 +07:00
padding-left: 20px;
padding-right: 20px;
2024-06-03 15:19:24 +07:00
} */
2024-05-30 18:06:50 +07:00
}
.layout_container {
2024-06-03 15:19:24 +07:00
/* padding-top: 40px;
padding-bottom: 40px; */
2024-05-30 18:06:50 +07:00
&.center-layout {
max-width: 1300px;
margin: auto;
}
}
.grid-container {
display: grid;
grid-template-columns: repeat(1, minmax(0, 1fr));
gap: 40px;
}
</style>