优化登录页UI、新增占满布局类
This commit is contained in:
@@ -195,8 +195,8 @@
|
||||
<div class="content-wrapper">
|
||||
<router-view v-slot="{ Component }">
|
||||
<transition name="fade-transform" mode="out-in">
|
||||
<div class="ctms-route-shell">
|
||||
<component :is="Component" />
|
||||
<div :key="route.fullPath" class="ctms-route-shell">
|
||||
<component :is="Component" :key="route.fullPath" />
|
||||
</div>
|
||||
</transition>
|
||||
</router-view>
|
||||
@@ -435,6 +435,9 @@ const onCommand = (cmd: string) => {
|
||||
<style scoped>
|
||||
.layout-container {
|
||||
height: 100vh;
|
||||
height: 100dvh;
|
||||
min-height: 100vh;
|
||||
min-height: 100dvh;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
@@ -703,6 +706,7 @@ const onCommand = (cmd: string) => {
|
||||
.content-wrapper {
|
||||
padding: 6px 8px;
|
||||
min-height: calc(100vh - 52px);
|
||||
min-height: calc(100dvh - 52px);
|
||||
background: #f7f8fb;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user