mirror of
https://github.com/chansee97/nova-admin.git
synced 2025-08-16 13:19:48 +08:00
fix: full-content padding error
This commit is contained in:
parent
2535252310
commit
a1085e1922
@ -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">
|
||||
|
Loading…
x
Reference in New Issue
Block a user