File tree Expand file tree Collapse file tree 2 files changed +17
-7
lines changed
Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 11<script setup>
2- defineProps ({
2+ const props = defineProps ({
33 spacedMobile: {
44 type: Boolean ,
55 default: true ,
@@ -10,15 +10,25 @@ defineProps({
1010 default: false ,
1111 required: false ,
1212 },
13+ vertical: {
14+ type: Boolean ,
15+ default: false ,
16+ required: false ,
17+ },
1318});
1419 </script >
1520
1621<template >
17- <div :class =" [
18- { 'max-w-(--breakpoint-2xl) mx-auto': !fluid },
19- spacedMobile ? 'px-4' : 'px-0',
20- 'md:px-8',
21- ]" >
22+ <div
23+ class =" md:px-8"
24+ :class =" [
25+ {
26+ 'max-w-(--breakpoint-2xl) mx-auto': !props.fluid,
27+ 'py-4 md:py-8 space-y-4 md:space-y-8': props.vertical
28+ },
29+ props.spacedMobile ? 'px-4' : 'px-0',
30+ ]"
31+ >
2232 <slot />
2333 </div >
2434</template >
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ const {
5757 <AuthenticatedAdminLayout
5858 :breadcrumbs =" breadcrumbs"
5959 >
60- <Container fluid >
60+ <Container vertical fluid >
6161 <PageTitleSection >
6262 <template #title >
6363 {{ pageTitle }}
You can’t perform that action at this time.
0 commit comments