fix: full-content padding error

This commit is contained in:
chansee97 2025-08-05 16:44:49 +08:00
parent 2535252310
commit a1085e1922

View File

@ -6,11 +6,15 @@ const routeStore = useRouteStore()
</script>
<template>
<n-el>
<n-el
class="h-full"
:class="[
appStore.layoutMode === 'full-content' ? 'p-0' : 'p-16px',
]"
style="background-color: var(--action-color);"
>
<router-view
v-slot="{ Component, route }"
class="flex-1 p-16px"
style="background-color: var(--action-color);"
>
<transition :name="appStore.transitionAnimation" mode="out-in">
<keep-alive :include="routeStore.cacheRoutes">