This commit is contained in:
Dede Fuji Abdul
2023-10-26 08:33:38 +07:00
parent 700bf84922
commit fcd3d2f91a
21 changed files with 2334 additions and 277 deletions

View File

@ -1,10 +1,9 @@
<template>
<main
class="flex-1 px-2 py-2 overflow-y-auto bg-white md:mr-4 sm:px-4 md:px-6 sm:py-4 md:py-6 rounded-t-3xl no-scroll-bar">
<div v-if="route.path !== '/home'" class="mx-auto max-w-7xl">
<main class="flex-1 px-2 overflow-y-auto bg-white md:mr-3 sm:px-3 md:px-4 rounded-t-3xl no-scroll-bar">
<div v-if="route.path !== '/home'" class="pt-2 mx-auto max-w-7xl sm:pt-4 md:pt-6">
<h1 class="text-lg font-medium md:text-2xl lg:text-3xl text-dark">{{ currentRouteName }}</h1>
</div>
<div class="my-2 sm:my-4">
<div class="mt-2 sm:mt-4 dx-viewport">
<slot></slot>
</div>
</main>