perf: dashboard 页面占位图自适应宽度
This commit is contained in:
parent
86ec9766dd
commit
0fe9d6072b
@ -5,7 +5,7 @@ import SvgAdmin from "../images/admin.svg?component" // vite-svg-loader 插件
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container center">
|
<div class="app-container center">
|
||||||
<SvgAdmin class="svg" />
|
<SvgAdmin class="svg" />
|
||||||
<p>欢迎来到 Admin 角色专属首页</p>
|
<p>欢迎来到「Admin」角色专属首页</p>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -17,6 +17,7 @@ import SvgAdmin from "../images/admin.svg?component" // vite-svg-loader 插件
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
.svg {
|
.svg {
|
||||||
width: 600px;
|
width: 600px;
|
||||||
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -5,7 +5,7 @@ import SvgEditor from "../images/editor.svg?component" // vite-svg-loader 插件
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container center">
|
<div class="app-container center">
|
||||||
<SvgEditor class="svg" />
|
<SvgEditor class="svg" />
|
||||||
<p>欢迎来到 Editor 角色专属首页</p>
|
<p>欢迎来到「Editor」角色专属首页</p>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -17,6 +17,7 @@ import SvgEditor from "../images/editor.svg?component" // vite-svg-loader 插件
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
.svg {
|
.svg {
|
||||||
width: 600px;
|
width: 600px;
|
||||||
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user